-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
JUnit test failure summary prints too many tests #2310
Labels
Comments
I guess that flag came in handy after all. I must have made some incorrect assumptions regarding how the test report xml is formatted, I'll look into it. |
gmalmquist
added a commit
to gmalmquist/pants
that referenced
this issue
Oct 5, 2015
I introduced a bug in https://rbcommons.com/s/twitter/r/2916/ wherein all test-cases in a class were printed if any of the test-cases in the class had failed. This occurred due to my incorrect assumption that only testcases that failed were listed in the .xml report from the junit runner. Now junit_run.py only prints a summary of those test-cases that actually failed. This fixes pantsbuild#2310.
gmalmquist
added a commit
to gmalmquist/pants
that referenced
this issue
Oct 6, 2015
I introduced a bug in https://rbcommons.com/s/twitter/r/2916/ wherein all test-cases in a class were printed if any of the test-cases in the class had failed. This occurred due to my incorrect assumption that only testcases that failed were listed in the .xml report from the junit runner. Now junit_run.py only prints a summary of those test-cases that actually failed. This fixes pantsbuild#2310.
Eric-Arellano
pushed a commit
that referenced
this issue
Aug 16, 2020
https://github.com/pypa/setuptools/releases/tag/v49.6.0 https://github.com/pypa/setuptools/blob/master/CHANGES.rst * #2129: In pkg_resources, no longer detect any pathname ending in .egg as a Python egg. Now the path must be an unpacked egg or a zip file. * #2306: When running as a PEP 517 backend, setuptools does not try to install ``setup_requires`` itself. They are reported as build requirements for the frontend to install. * #2310: Updated vendored packaging version to 20.4. * #2300: Improve the ``safe_version`` function documentation * #2297: Once again, in stubs prefer exec_module to the deprecated load_module. * #2316: Removed warning when ``distutils`` is imported before ``setuptools`` when ``distutils`` replacement is not enabled. * #2259: Setuptools now provides a .pth file (except for editable installs of setuptools) to the target environment to ensure that when enabled, the setuptools-provided distutils is preferred before setuptools has been imported (and even if setuptools is never imported). Honors the SETUPTOOLS_USE_DISTUTILS environment variable. pypa/setuptools#2257: Fixed two flaws in distutils._msvccompiler.MSVCCompiler.spawn. instead of #10561 [ci skip-build-wheels]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In https://rbcommons.com/s/twitter/r/2916/ we added a summary of failures at the end of the junit run.
If there is a single test failure, it is printing out more tests than just the one that actually failed.
The workaround is to turn off this summary:
The text was updated successfully, but these errors were encountered: