busterjs / buster

Abandoned - A powerful suite of automated test tools for JavaScript.
http://docs.busterjs.org
Other
448 stars 37 forks source link

Default reporter is reporting inconsistent percentages #393

Closed bazzarelli closed 10 years ago

bazzarelli commented 10 years ago

Node 0.10.21 Buster.js 0.7.8

Tests run in browser environment using only Firefox 25 with 36 tests shows inconsistent percentages - although it says the tests have completed successfully.


$ ./node_modules/.bin/buster-test --config ./test-js/buster.js --browser --log-level debug
Running tests: AMD Tests Browser
Loading: 

Creating browser session
-> Firefox 25.0 on Mac OS X 10.9
Running 36 tests in 1 runtime ... 75% done
36 tests, 93 assertions, 1 runtime ... OK
Successfully closed session

$ ./node_modules/.bin/buster-test --config ./test-js/buster.js --browser --log-level debug
Running tests: AMD Tests Browser
Loading: 

Creating browser session
-> Firefox 25.0 on Mac OS X 10.9
Running 36 tests in 1 runtime ... 89% done
36 tests, 93 assertions, 1 runtime ... OK
Successfully closed session
dwittner commented 10 years ago

The percentage is only a hint, how long you have roughly to wait yet. We don't guarantee that you will see 100% at the end. Normally the percentage line should be replaced by the summary line (ending with "... OK" in your case). Thus it doesn't matter which value is displayed. Can you please try to run the tests without log-level debug and check whether the replacement works as expected then?

dwittner commented 10 years ago

Last call to provide further information before the issue is closed! ;)