待测试

优质
小牛编辑
128浏览
2023-12-01

“待定” - 在“有人应该最终编写这些测试用例”中 - 测试用例只是没有回调的情况:

describe('Array', function() {
describe('#indexOf()', function() {
  // pending test below
  it('should return -1 when the value is not present');
});
});

待测试将包含在测试结果中,并标记为待定。待定测试不被视为失败测试。