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
We have a Console Launcher based application that executes several tests against a remote device and checks its configuration parameters, failing with assertion errors if any of these parameters do not match the expected values.
The tree output of the console launcher provides already all the needed information to analyze failures, i.e., the ❌ next to the test name and the assertion error message. However, each test failure triggers also the printing of a stack trace, appended after the tree output.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a Console Launcher based application that executes several tests against a remote device and checks its configuration parameters, failing with assertion errors if any of these parameters do not match the expected values.
The tree output of the console launcher provides already all the needed information to analyze failures, i.e., the ❌ next to the test name and the assertion error message. However, each test failure triggers also the printing of a stack trace, appended after the tree output.
Is there a way to hide the stack trace and keep only the tree output? I couldn't find any viable options at https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options but maybe I overlooked something.
Beta Was this translation helpful? Give feedback.
All reactions