You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this html file with 3 simple QUnit tests, the second test will timeout, and Chutzpah will then report an error and not run the 3rd test. Sorry about the formatting below. The error I see is:
Error: Unknown error occurred when executing test file. Received exit code of 2
While Running:D:\chutzpah\test.html
It does run ok in the browser. This is a simple example of the issue. I have a much bigger test file with hundreds of tests, but this timeout issue occurs with the 76th test and Chutzpah will not finish running the tests once that test times out. I did try it with the /debug argument, and I don't see anything enlightening other than a bunch of these:
<!doctype html><metacharset="utf-8"><title>Test Suite</title><linkrel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.23.1.css"><body><divid="qunit"></div><divid="qunit-fixture"></div><scriptsrc="https://code.jquery.com/qunit/qunit-1.23.1.js"></script><script>QUnit.config.autostart=falseQUnit.config.testTimeout=15000;QUnit.module('Timeout Module');QUnit.test("AAA This first test works",function(assert){assert.ok(1+1==2);});QUnit.test("BBB This second test will timeout",function(assert){vardone=assert.async();setTimeout(function(){assert.ok(1==1);done();},17000);});QUnit.test("CCC This this third test doesn't run with Chutzpah",function(assert){assert.ok(2+2==4);});</script></body>
D:\chutzpah>c:/ProgramData/chocolatey/lib/Chutzpah/chutzpah.console.exe test.html /engine Chrome
Chutzpah console test runner (64-bit .NET 4.0.30319.42000)
Version 4.4.8.0
Copyright (C) 2018 Matthew Manela (http://matthewmanela.com).
Error: Unknown error occurred when executing test file. Received exit code of 2
While Running:D:\chutzpah\test.html
=== 1 total, 0 failed, took 11.31 seconds ===
If I modify the test to timeout at 9 seconds (and run the test longer than 9 seconds), then Chutzpah will run all 3 tests and fail the second test. A timeout higher than 9 seconds stops Chutzpah from running all the tests.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
For this html file with 3 simple QUnit tests, the second test will timeout, and Chutzpah will then report an error and not run the 3rd test. Sorry about the formatting below. The error I see is:
Error: Unknown error occurred when executing test file. Received exit code of 2
While Running:D:\chutzpah\test.html
It does run ok in the browser. This is a simple example of the issue. I have a much bigger test file with hundreds of tests, but this timeout issue occurs with the 76th test and Chutzpah will not finish running the tests once that test times out. I did try it with the /debug argument, and I don't see anything enlightening other than a bunch of these:
If I modify the test to timeout at 9 seconds (and run the test longer than 9 seconds), then Chutzpah will run all 3 tests and fail the second test. A timeout higher than 9 seconds stops Chutzpah from running all the tests.
The text was updated successfully, but these errors were encountered: