Class DebugOptions

java.lang.Object
org.codice.ddf.test.common.options.BasicOptions
org.codice.ddf.test.common.options.DebugOptions

public class DebugOptions extends BasicOptions
Contains test options useful for debugging tests.
  • Constructor Details

    • DebugOptions

      public DebugOptions()
  • Method Details

    • keepRuntimeFolder

      public static org.ops4j.pax.exam.Option keepRuntimeFolder()
      Prevents the deletion of the distribution used during testing.
      Returns:
    • enableRemoteDebugging

      public static org.ops4j.pax.exam.Option enableRemoteDebugging()
      Enables ports for debugging. Setting the `waitForDebug` property to true will cause the test to halt and wait for a remote debugger to attach before executing tests.
      Returns:
    • enableCustomLogging

      public static org.ops4j.pax.exam.Option enableCustomLogging()
      Allows custom logging by passing in the `custom.logging` property with the value being in the format of `[package]=[logLevel];[anotherPackage]=[anotherLogLevel]
      Returns:
    • defaultDebuggingOptions

      public static org.ops4j.pax.exam.Option defaultDebuggingOptions()