Resharper茉莉环路测试总是中止

时间:2016-07-19 16:03:44

标签: jasmine resharper

我正在寻找一段时间来寻找环状茉莉花测试的resharper测试集成。

请参阅小例子(直接与业力测试运行员一起运行时工作优秀)但是Resharper总是在没有任何提示错误的情况下中止此测试:

describe('this is my looping test!', function() {
var input = [1,2,3];
var output = [10, 20, 30];

function test_my_times_ten(input, output) {
it('should multiply ' + input + ' by 10 to give ' + output, function() {
expect(input * 10).toEqual(output)
});
}

for(var x = 0; x < input.length; x++) {
test_my_times_ten(input[x], output[x]);
}
});

是否有可能运行循环测试? 谢谢,Jana

0 个答案:

没有答案