Annotation Type RunIfToggleEnabled


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface RunIfToggleEnabled
    Annotation to mark a test that should run only if a toggle is enabled. This is meant for tests that validate features introduced via toggles.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The toggle that is required for the test to run
    • Element Detail

      • value

        String value
        The toggle that is required for the test to run
        Returns:
        the toggle name