setTestName method
Use this method to set the name of the test.
Syntax
let configval = config.setTestName(testName);
config.testName = configval;
configval = config.testName;
Note that this feature is available as both a method and a property.
Parameters
- testName
- Type:string
- The test name to be configured for the test.
Return value
- Type: Configuration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.