Class TestPlanV1_0

java.lang.Object
io.qameta.allure.testfilter.TestPlanV1_0
All Implemented Interfaces:
TestPlan, Serializable

public class TestPlanV1_0 extends Object implements TestPlan, Serializable
Allure test plan model for version 1.0.

The model stores selected test cases and helper lookup methods used by framework integrations. It is typically created by deserializing an Allure test plan JSON file.

See Also:
  • Constructor Details

    • TestPlanV1_0

      public TestPlanV1_0()
  • Method Details

    • getTests

      public List<TestPlanV1_0.TestCase> getTests()
      Gets the value of the tests property.
      Returns:
      tests.
    • setTests

      public TestPlanV1_0 setTests(List<TestPlanV1_0.TestCase> tests)
      Sets the value of the tests property.
      Parameters:
      tests - the value to set.
      Returns:
      current instance.
    • isSelected

      public boolean isSelected(String allureId, String selector)
      Parameters:
      allureId - value of @AllureId annotation, if not set pass null value
      selector - selector of test method
      Returns:
      true if test case with given allureId or selection is selected, false otherwise.