Class ScriptTestCaseSuite


  • public class ScriptTestCaseSuite
    extends java.lang.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".
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> getTestCases()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptTestCaseSuite

        public ScriptTestCaseSuite()
    • Method Detail

      • getTestCases

        public static java.util.List<java.lang.String> getTestCases()