Currently I am trying to set up VS2013's Test Runner to have my QUnit unit tests.
What I have:
I have a Chutzpah.json that seems to almost work. It finds the file it needs examine for tests, and ignores anything else. It handles the TypeScript fine so the references are all lined up well enough. And it was pretty much copied and added to starting from: RequireJS with QUnit using TypeScript
The QUnit test runs when run from a route in the application (/Home/Tests) which is just a simple page that loads up references and runs the tests.
What I want:
The Tests to show up in the test runner so that I can use it for rough comparative performance, and also as an easier way to have them run than in the browser.
What's Wrong:
When I open the solution, and Chutzpah does it's discovery, I get an error message that reads:
Error: Timeout occured when executing test file
While Running:c:\github\seeds-rogue-like\rogue-like\scripts\tests\game\character\character-tests.ts
I also get half a dozen or so messages of "Object Reference not set to an instance of an object" before this happens, but that may or may not be related (one problem at a time, and I think it's something totally unrelated).
The Github repository that has the application I want this to work for is Here
I'm fine with just about anything that might need to be done to get this to work :)
Thank you for your time
What I have:
I have a Chutzpah.json that seems to almost work. It finds the file it needs examine for tests, and ignores anything else. It handles the TypeScript fine so the references are all lined up well enough. And it was pretty much copied and added to starting from: RequireJS with QUnit using TypeScript
The QUnit test runs when run from a route in the application (/Home/Tests) which is just a simple page that loads up references and runs the tests.
What I want:
The Tests to show up in the test runner so that I can use it for rough comparative performance, and also as an easier way to have them run than in the browser.
What's Wrong:
When I open the solution, and Chutzpah does it's discovery, I get an error message that reads:
Error: Timeout occured when executing test file
While Running:c:\github\seeds-rogue-like\rogue-like\scripts\tests\game\character\character-tests.ts
I also get half a dozen or so messages of "Object Reference not set to an instance of an object" before this happens, but that may or may not be related (one problem at a time, and I think it's something totally unrelated).
The Github repository that has the application I want this to work for is Here
I'm fine with just about anything that might need to be done to get this to work :)
Thank you for your time