ReSharper does not recognize custom qunit tests

421 views Asked by At

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?

1

There are 1 answers

0
EricSchaefer On

I don't think resharper can recognize your tests. I just runs your function calls but how would it know what your tests are?