I want to use ReSharper to run my javascript unit tests. But I don't get ReSharper to detect my custom test functions.
customTest("my test", function() {
// do some stuff to test my code
ok("The test run successfully");
}
function customTest(testName, testFunc) {
// do some stuff to initialize the test object
// this is supposed to happen for every test
test(testName, testFunc);
}
When running this file all tests are executed, but the tests aren't added to the ReSharper testrunner. Any ideas?
I don't think resharper can recognize your tests. I just runs your function calls but how would it know what your tests are?