Messages passed to 'console.log' are captured only for the first test from
TestCase (coverage should be enabled).
What steps will reproduce the problem?
1. unzip capture-console-with-coverage.zip and cd to the newly created directory
2. run JsTD-1.3.4.b server on port 9876
3. run tests with --captureConsole: java -jar /path/to/JsTestDriver-1.3.4.b.jar
--config jsTestDriver.conf --tests all --captureConsole --server
http://localhost:9876
What is the expected output? What do you see instead?
Two captured console messages are expected: "invoking say(false)" and "invoking
say(true)", but actually there is only one message captured: "invoking
say(false)".
What version of the product are you using? On what operating system?
Java: 1.6.0_31, 64-Bit
OS: Ubuntu 11.10
JsTestDriver: 1.3.4.b (both JsTestDriver-1.3.4.b.jar and coverage-1.3.4.b.jar)
Please provide any additional information below.
Original issue reported on code.google.com by Sergey.S...@gmail.com on 5 May 2012 at 2:30
Original issue reported on code.google.com by
Sergey.S...@gmail.com
on 5 May 2012 at 2:30Attachments: