Skip to content
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

Test error traceback suppressed by default #843

Open
hoxu opened this issue Dec 9, 2021 · 0 comments
Open

Test error traceback suppressed by default #843

hoxu opened this issue Dec 9, 2021 · 0 comments

Comments

@hoxu
Copy link
Contributor

hoxu commented Dec 9, 2021

Looks like without -v the default is to suppress the traceback of unit test errors:

[INFO]  Executed 1 unit tests
Error:  Test has error: unittest.loader._FailedTest.xxx
------------------------------------------------------------
BUILD FAILED - There were 1 error(s) and 0 failure(s) in unit tests (pybuilder/plugins/python/unittest_plugin.py:109)
------------------------------------------------------------

I think the default should be to show the traceback that caused the build to fail, regardless of whether -v is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants