Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

New Post: Official RequireJS/ Jasmine sample gets timeout

$
0
0
Hello everyone,

I want to use Chutzpah for JavaScript unit testing while using Jasmine and requirejs. I read a lot of posts describing some errors settings this up and also a lot of possible solutions to these kind of problems but unfortunately I still don't get things up and running although I think I am using the most simple setup! I am using exactly the same code as shown here:

Sample Code using Chutzpah with Jasmine and RequireJS

But I still get some ugly timeout message:

Error: Timeout occurred when executing test file
While Running:[...]\tests\base\base.jasmine.test.js
========== Total Tests: 0 passed, 0 failed, 0 total ==========

I also downloaded all of the code from the Chutzpah website, opened the solution in Visual Studio 2013 and tried to run a test:

------ Test started: File: [...]\Facts.Integration\JS\Code\AMDMode_RequireJS\tests\base\base.jasmine.test.js ------
1 passed, 0 failed, 1 total (chutzpah).

Error: Timeout occurred when executing test file
While Running:[...]\Facts.Integration\JS\Code\AMDMode_RequireJS\tests\base\base.jasmine.test.js
========== Total Tests: 0 passed, 0 failed, 0 total ==========

Again a timeout.

Has anyone an idea? Is there a problem with the Chutzpah code or perhaps with my environment?

Thank you!
Cheers,
Tim.

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>