Package 

Class InstrumentationTestOptions

  • All Implemented Interfaces:

    
    public abstract class InstrumentationTestOptions
    
                        

    Options for controlling instrumentation test execution

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getEnabled() Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.
      final Unit setEnabled(Boolean enabled) Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.
      final Boolean getIntegrityCheckEnabled() Whether to check if the instrumentation tests are correctly set up.
      final Unit setIntegrityCheckEnabled(@Deprecated(message = "Starting with android-junit5 1.9.0.0, instrumentation tests are automatically configured correctly when the junit-jupiter-api dependency is added as an androidTestImplementation dependency; this flag no longer does anything and can be safely removed. If you don't want to automatically configure JUnit 5 instrumentation tests, use the `enabled` flag.") Boolean integrityCheckEnabled) Whether to check if the instrumentation tests are correctly set up.
      final Unit enabled(Boolean state) Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.
      final Unit integrityCheckEnabled(Boolean state) Whether to check if the instrumentation tests are correctly set up.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InstrumentationTestOptions

        InstrumentationTestOptions()
    • Method Detail

      • getEnabled

        @Input() final Boolean getEnabled()

        Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.

      • setEnabled

         final Unit setEnabled(Boolean enabled)

        Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.

      • getIntegrityCheckEnabled

        @Input() final Boolean getIntegrityCheckEnabled()

        Whether to check if the instrumentation tests are correctly set up. If this is disabled, the plugin won't raise an error during evaluation if the instrumentation libraries or the test runner are missing.

      • setIntegrityCheckEnabled

         final Unit setIntegrityCheckEnabled(@Deprecated(message = "Starting with android-junit5 1.9.0.0, instrumentation tests are automatically configured correctly when the junit-jupiter-api dependency is added as an androidTestImplementation dependency; this flag no longer does anything and can be safely removed. If you don't want to automatically configure JUnit 5 instrumentation tests, use the `enabled` flag.") Boolean integrityCheckEnabled)

        Whether to check if the instrumentation tests are correctly set up. If this is disabled, the plugin won't raise an error during evaluation if the instrumentation libraries or the test runner are missing.

      • enabled

         final Unit enabled(Boolean state)

        Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.

      • integrityCheckEnabled

        @Deprecated(message = "Starting with android-junit5 1.9.0.0, instrumentation tests are automatically configured correctly when the junit-jupiter-api dependency is added as an androidTestImplementation dependency; this flag no longer does anything and can be safely removed. If you don't want to automatically configure JUnit 5 instrumentation tests, use the `enabled` flag.") final Unit integrityCheckEnabled(Boolean state)

        Whether to check if the instrumentation tests are correctly set up. If this is disabled, the plugin won't raise an error during evaluation if the instrumentation libraries or the test runner are missing.