Class AbstractSuiteActionContainer

All Implemented Interfaces:
Described, Named, Completable, TestActionContainer, TestAction, TestActorAware
Direct Known Subclasses:
SequenceAfterSuite, SequenceBeforeSuite

public abstract class AbstractSuiteActionContainer extends AbstractActionContainer
Abstract suit container actions executed before and after test suite run. Container decides weather to execute according to given suite name and included test groups if any.
Since:
2.0
  • Constructor Details

    • AbstractSuiteActionContainer

      public AbstractSuiteActionContainer()
  • Method Details

    • shouldExecute

      public boolean shouldExecute(String suiteName, String[] includedGroups)
      Checks if this suite actions should execute according to suite name and included test groups.
      Parameters:
      suiteName -
      includedGroups -
      Returns:
    • getTestGroups

      public List<String> getTestGroups()
      Gets the test groups that restrict the container execution.
      Returns:
    • setTestGroups

      public void setTestGroups(List<String> testGroups)
      Sets the test groups that restrict the container execution.
      Parameters:
      testGroups -
    • getSuiteNames

      public List<String> getSuiteNames()
      Gets the suite names that restrict the container execution.
      Returns:
    • setSuiteNames

      public void setSuiteNames(List<String> suiteNames)
      Sets the suite names that restrict the container execution.
      Parameters:
      suiteNames -
    • getEnv

      public Map<String,String> getEnv()
      Gets the env.
      Returns:
    • setEnv

      public void setEnv(Map<String,String> env)
      Sets the env.
      Parameters:
      env -
    • getSystemProperties

      public Map<String,String> getSystemProperties()
      Gets the systemProperties.
      Returns:
    • setSystemProperties

      public void setSystemProperties(Map<String,String> systemProperties)
      Sets the systemProperties.
      Parameters:
      systemProperties -