java.lang.Object
com.github.sbt.junit.jupiter.internal.options.Options

public class Options extends Object
Defines available commandline options.
  • Method Details

    • isColorsEnabled

      public boolean isColorsEnabled()
      Returns:
      True, if colored output should be enabled.
    • isDecodeScalaNames

      public boolean isDecodeScalaNames()
      Returns:
      True, if should be decoded.
    • isQuiet

      public boolean isQuiet()
      Returns:
      True, if output of tests should be send to the debug log instead of the info log.
    • isVerbose

      public boolean isVerbose()
      Returns:
      True, if verbose messages should be logged. Otherwise only errors and ignored tests should be logged.
    • isAssertLogEnabled

      public boolean isAssertLogEnabled()
      Returns:
      True, if the class name and stacktrace of assertion errors should be logged.
    • isExceptionClassLogEnabled

      public boolean isExceptionClassLogEnabled()
      Returns:
      True, if the class name of an exception should be logged.
    • isTypesEnabled

      public boolean isTypesEnabled()
      Returns:
      True, if the type for every UniqueId.Segment should be logged.
    • getDisplayMode

      public String getDisplayMode()
      Returns:
      The display type ('flat', 'tree')
    • getRunListener

      public Optional<String> getRunListener()
      Returns:
      An optional test run listener.
    • getTestFilters

      public Set<String> getTestFilters()
      Returns:
      The set of test name filters (might be empty).
    • getDispatchEventsTracePath

      public Optional<String> getDispatchEventsTracePath()
      Returns:
      An optional path to a file where dispatch events should be logged.
    • getIncludeTags

      public List<String> getIncludeTags()
      Returns:
      The set of tags which should be included (might be empty).
    • getExcludeTags

      public List<String> getExcludeTags()
      Returns:
      The set of tags which should be excluded (might be empty).
    • getGlobPatterns

      public Set<String> getGlobPatterns()
      Returns:
      The set of glob patterns for test names which should be executed (might be empty).
    • getSystemProperties

      public Map<String,String> getSystemProperties()
      Returns:
      A list of system properties to be set before execution.