Skip to content

Skipping Tests

Aire Assert allows tests to be skipped by adding the @ignore or @Ignore tag to the test scenario.

Usage

  • Add @ignore or @Ignore to the test annotation to mark it as skipped.
  • Tests tagged with either @ignore or @Ignore will be excluded from execution during the test run.

Example

gherkin
@ignore
Scenario: This test will be skipped
  Given some precondition
  When some action is taken
  Then expect some result

or

gherkin
@Ignore
Scenario: This test will also be skipped
  Given some precondition
  When some action is taken
  Then expect some result