-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xunit reporter does not report <testcase /> #1864
Comments
quite possible it's broken since we don't have good tests for the reporters |
yep. since i upgraded mocha from 2.2.4 to 2.3.0. using:
only writes the first line:
|
Just to help confirm this. Stupid simple test file
Works as expected in
But not
|
oops, spammed this issue a bit while working on the test for the PR 😅 |
Fix #1864: xunit missing output with --reporter-options output
Fixed via #1878 :) |
sweet. thanks! |
👍 thank you |
* master: (25 commits) Fix mochajs#1798: Correctly attribute mutiple done err with hooks Remove redundant harmony flag Cast non-string return values from err.inspect() Call the inspect() function if message is not set Revert jade to support npm < v1.3.7 Fix eqeqeq linting errors from eslint 1.4.0 release Fix mochajs#1669: catch uncaught errors outside test suite execution Support all harmony flags Fix fragile xunit reporter spec Fix linter warning "Expected a conditional expression and instead saw an assignment" Stackfilter fix: Don't remove modules/components from stack trace in the browser Fix mochajs#1864: xunit missing output with --reporter-options output Fix 1875: Markdown reporter exceeds maximum call stack size IE<=8 no [].reduce, so use 'utils.reduce' instead Release v2.3.2 remove lodash.create; closes mochajs#1868 update package.json & component.json for v2.3.1 update HISTORY.md fix package.json to use exact version of lodash; closes mochajs#1867 Fix: Bail flag causes before() hooks to be run even after a failure ... # Conflicts: # lib/runnable.js
xunit reporter which is in mocha 3.4.2 generates the wrong output |
@wip0 If you can put together a minimal but complete Mocha usage example (test, CLI command, |
@ScottFreeCode Thank you |
currently Xunit reporter only reports the top
but not the child test cases
something that i would expect is:
is there a reason for it?
The text was updated successfully, but these errors were encountered: