Table Interface
TableInterface
Defines the interface for a table. All the table models must Implement this interface.
Kind: global class
tableInterface.name
The name of this table
Kind: instance property of TableInterface
tableInterface.meta
Any meta information the table may have. For example the original file name.
Kind: instance property of TableInterface
tableInterface.tableType
The type of this table
Kind: instance property of TableInterface
object
tableInterface.getTestcaseForName(testcaseName) ⇒ Returns the testcase for the given name. If not found it will throw an exception
Kind: instance method of TableInterface
Returns: object
- testcaseDefinition returns the testcase definition
Param | Type | Description |
---|---|---|
testcaseName | string | The name of the testcase |
tableInterface.getTestcasesForExecution()
This generator returns all the testcases which should be executed
Kind: instance method of TableInterface
array
tableInterface.processRanges(testcaseName) ⇒ Parses a testcase name. If the name is a range it will return an Array of names. For example the name 'tc12-14' will be expanded to: tc12, tc13, tc14 This is a helper method
Kind: instance method of TableInterface
Returns: array
- tcNames An array of test case names
Param | Type | Description |
---|---|---|
testcaseName | string | The reference test case name |