Table Matrix
TableInterface
TableMatrix ⇐ This is the
Kind: global class
Extends: TableInterface
- TableMatrix ⇐
TableInterface
tableMatrix.rows
Stores the rows meta information. For each row it creates one object { name: // The name of this row shortName: execute: // If set this means that all the combinations of this row should be executed position: // This name is used to reference this row reference: // A refernce to an other table generator: // A generator used to create the data for this row description: // Any description }
Kind: instance property of TableMatrix
tableMatrix.columns
Stores the columns meta information. For each column it creates one object { name: // The name of this column shortName: execute: // If set this means that all the combinations of this column should be executed position: // This name is used to reference this column reference: // A refernce to an other table generator: // A generator used to apply the column to the row description: // Any description }
Kind: instance property of TableMatrix
string
tableMatrix.tableType ⇒ Stores the type of the table
Kind: instance property of TableMatrix
Returns: string
- The type of this table.
object
tableMatrix.getTestcaseForName(testcaseName) ⇒ Returns the testcase for the given name. If not found it will throw an exception.
The name in a mtrix table has the following format: 'r
Kind: instance method of TableMatrix
Returns: object
- testcaseDefinition returns the testcase definition
Param | Type | Description |
---|---|---|
testcaseName | string | The name of the testcase |
tableMatrix.createTestcaseName()
creates the field name for a matrix table
Kind: instance method of TableMatrix
tableMatrix.getTestcasesForExecution()
This generator returns all the testcases which should be executed
Kind: instance method of TableMatrix
array
tableMatrix.processRanges(testcaseName) ⇒ Parses a testcase name given in a reference. If the name is a range it will return an Array of names. For example the name 'tc12-14' will be expended to: tc12, tc13, tc14
Kind: instance method of TableMatrix
Returns: array
- tcNames An array of test case names
Param | Type | Description |
---|---|---|
testcaseName | string | The reference test case name |