Testcase Definition Matrix
TestcaseDefinitionMatrix ⇐ TestcaseDefinitionInterface
A test case is one cell in the table.
Kind: global class
Extends: TestcaseDefinitionInterface
- TestcaseDefinitionMatrix ⇐
TestcaseDefinitionInterface
testcaseDefinitionMatrix.row
the row this test case comes from
Kind: instance property of TestcaseDefinitionMatrix
testcaseDefinitionMatrix.column
the column this test case comes from
Kind: instance property of TestcaseDefinitionMatrix
testcaseDefinitionMatrix.name
The name of this testcase. With this name the
testcase could be found in the table.
The name in a matrix table has the following format: 'r
Kind: instance property of TestcaseDefinitionMatrix
testcaseDefinitionMatrix.execute
Should this test case be executed or is it only for a reference
Kind: instance property of TestcaseDefinitionMatrix
testcaseDefinitionMatrix.getFieldName()
Creates a field name. In a matrix table the field name is the testcase name plus the name given in the row or column
Kind: instance method of TestcaseDefinitionMatrix
testcaseDefinitionMatrix.createTodos() ⇒ object
Create all the todos for this testcase definition const todos = { generators :[genTodo,], references: [refTodo,], static: [staticData], }
Kind: instance method of TestcaseDefinitionMatrix
Returns: object - todos An object with all the todos by there type
testcaseDefinitionMatrix._createGeneratorTodo(generatorCmd, type, meta) ⇒ object
Creates the generator todo
Kind: instance method of TestcaseDefinitionMatrix
Returns: object - todo A generator Todo
| Param | Type | Description |
|---|---|---|
| generatorCmd | string | The generator command |
| type | string | row or column. Indicating if it is the row or column data |
| meta | object | The meta data of the column or row |
testcaseDefinitionMatrix._createReferenceTodo(generatorCmd, type, meta) ⇒ object
Creates a refernce todo
Kind: instance method of TestcaseDefinitionMatrix
Returns: object - todo A generator Todo
| Param | Type | Description |
|---|---|---|
| generatorCmd | string | The generator command |
| type | string | row or column. Indicating if it is the row or column data |
| meta | object | The meta data of the column or row |
testcaseDefinitionMatrix._createStaticValueTodo(generatorCmd, type, meta) ⇒ object
Creates the todo for static values
Kind: instance method of TestcaseDefinitionMatrix
Returns: object - todo A static Todo
| Param | Type | Description |
|---|---|---|
| generatorCmd | string | The generator command |
| type | string | row or column. Indicating if it is the row or column data |
| meta | object | The meta data of the column or row |
testcaseDefinitionMatrix._createMultirowSectionTodo(section) ⇒ array
Create a meta todo
Kind: instance method of TestcaseDefinitionMatrix
Returns: array - todos Aa array of meta Todos
| Param | Type | Description |
|---|---|---|
| section | object | The current multiRowSection |