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

Created Unassigned: Error: Timeout occured when executing test file [200]

$
0
0
I've installed Chutzpah Test Adaptor for Visual Studio (2012, update 4), and I've also separately downloaded Chutzpah 3.0.1.0 and tried running from command line.

I see the message "Error: Timeout occured when executing test file" when I try to run a simple Jasmine unit test. Here's what I get when running from command line:

```
C:\dev\VSworkspace\TestingChutzpah\TestingChutzpah>C:\dev\Chutzpah\chutzpah.console.exe test.js
Chutzpah console test runner (64-bit .NET 4.0.30319.18052)
Copyright (C) 2013 Matthew Manela (http://matthewmanela.com).

chutzpah.dll: Version 3.0.1.0


File: C:\dev\VSworkspace\TestingChutzpah\TestingChutzpah\test.js
1 total, 0 failed, took 0.01 seconds


Error: Timeout occured when executing test file
While Running:C:\dev\VSworkspace\TestingChutzpah\TestingChutzpah\test.js


=== 0 total, 0 failed, took 6.65 seconds ===
```

And I see a similar error in Visual Studio, both when running the test and when Test Explorer is trying to "discover" tests:

```
------ Discover test started ------
Error: Timeout occured when executing test file
While Running:c:\dev\vsworkspace\testingchutzpah\testingchutzpah\test.js

========== Discover test finished: 0 found (0:00:06.1733531) ==========

```

Here's what the file test.js looks like:

```
describe("My test", function () {
it("should show up in the test explorer", function () {
expect(true).toBe(true);
});
});
```

I've tried setting a long timeout, but I see the same issue. The test does not appear in the Test Explorer pane. The test does appear to execute and running with /openInBrowser does work. What is going on here?

Viewing all articles
Browse latest Browse all 1864

Trending Articles



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