Class ScriptTestCaseSuite

java.lang.Object
com.xceptance.xlt.api.engine.scripting.ScriptTestCaseSuite

public class ScriptTestCaseSuite extends Object
A special test case class, which acts as a suite of script test cases. Add this test case to your list of JUnit test cases and it will run all test scripts configured in the property "com.xceptance.xlt.api.engine.scripting.ScriptTestCaseSuite.testCases", each possibly multiple if there is an associated data set file with more than one data set (data-driven test). A sample configuration could look like this
 com.xceptance.xlt.api.engine.scripting.ScriptTestCaseSuite.testCases = com.yourcompany.xlt.tests.TLogin Login Logout
 
With this configuration, the framework executes the class "com.yourcompany.xlt.tests.TLogin" and the scripts "Login" and "Logout".
  • Constructor Details

    • ScriptTestCaseSuite

      public ScriptTestCaseSuite()
  • Method Details

    • getTestCases

      public static List<String> getTestCases()