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
Unfortunately, it's impossible to override these settings, according to JUnit 5 documentation (source):
Configuration parameters are looked up in the exact order defined above. Consequently, configuration parameters supplied directly to the Launcher take precedence over those supplied via custom configuration files, system properties, and the default configuration file. Similarly, configuration parameters supplied via system properties take precedence over those supplied via the default configuration file.
Having these settings in place results in pollution of the test output, which can be quite annoying.
Would it be possible to remove hardcoded settings with LauncherConstants.CAPTURE_STDERR_PROPERTY_NAME and LauncherConstants.CAPTURE_STDOUT_PROPERTY_NAME or make them configurable via Bazel target attributes?
The text was updated successfully, but these errors were encountered:
Runner for JUnit 5 tests
java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/ActualRunner.java
(source) contains the following lines:Unfortunately, it's impossible to override these settings, according to JUnit 5 documentation (source):
Having these settings in place results in pollution of the test output, which can be quite annoying.
Would it be possible to remove hardcoded settings with
LauncherConstants.CAPTURE_STDERR_PROPERTY_NAME
andLauncherConstants.CAPTURE_STDOUT_PROPERTY_NAME
or make them configurable via Bazel target attributes?The text was updated successfully, but these errors were encountered: