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
Hi,
Error thrown in afterAll() and beforeAll() jasmine methods seems not to be written in junit report.
When I run attached test file test_spec.txt
$ node_modules/.bin/jasmine spec/**/*spec.js
Randomized with seed 00368
Started
mrep:Running suite with 1
mrep:Suite started: my test suite whose full description is: my test suite
mrep:Spec started: Test whose full description is: my test suite Test
test
.mrep:Spec: Test was passed
0
mrep:Suite: my test suite was failed
Suite Error: error
Error: error
at UserContext.afterAll (/vagrant/tests/jasmine/spec/test_spec.js:57:8)
at
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
Suite error: my test suite
Message:
Error: error
Stack:
Error: error
at UserContext.afterAll (/vagrant/tests/jasmine/spec/test_spec.js:57:8)
at
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
1 spec, 1 failure
Finished in 0.007 seconds
Randomized with seed 00368 (jasmine --random=true --seed=00368)
mrep:Finished suite: failed
$ cat output/junitresults-mytestsuite.xml
As you can see, my custom report see the error status in suiteDone.
Is-it possible to manage this error status in junit report too ?
Best regards
The text was updated successfully, but these errors were encountered:
Hi,
Error thrown in afterAll() and beforeAll() jasmine methods seems not to be written in junit report.
When I run attached test file
test_spec.txt
$ node_modules/.bin/jasmine spec/**/*spec.js
Randomized with seed 00368
Started
mrep:Running suite with 1
mrep:Suite started: my test suite whose full description is: my test suite
mrep:Spec started: Test whose full description is: my test suite Test
test
.mrep:Spec: Test was passed
0
mrep:Suite: my test suite was failed
Suite Error: error
Error: error
at UserContext.afterAll (/vagrant/tests/jasmine/spec/test_spec.js:57:8)
at
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
Suite error: my test suite
Message:
Error: error
Stack:
Error: error
at UserContext.afterAll (/vagrant/tests/jasmine/spec/test_spec.js:57:8)
at
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
1 spec, 1 failure
Finished in 0.007 seconds
Randomized with seed 00368 (jasmine --random=true --seed=00368)
mrep:Finished suite: failed
$ cat output/junitresults-mytestsuite.xml
As you can see, my custom report see the error status in suiteDone.
Is-it possible to manage this error status in junit report too ?
Best regards
The text was updated successfully, but these errors were encountered: