Nanook

Nanook

  • Docs
  • API
  • GitHub

›Model Matrix

Logger

  • Logger Interface
  • Logger Memory

Model

  • Table Interface
  • Testcase Definition Interface
  • Todo Meta
  • Todo Static
  • Todo Generator
  • Todo Reference

Model Decision

  • Base Section Definition
  • Base Single Row Section Definition
  • Execute Section Definition
  • Never Execute Section Definition
  • Multiplicity Section Definition
  • Summary Section Definition
  • Field Section Definition
  • Field Sub Section Definition
  • Multi Row Section Definition
  • Tag Section Definition
  • Filter Section Definition
  • Generator Switch Section Definition
  • Testcase Definition Decision
  • Table Decision
  • Section Types
  • Validate Double
  • Validate Helper
  • Validate Missing

Model Matrix

  • Testcase Definition Matrix
  • Table Matrix

Importer xlsx

  • Importer xlsx

File Processor

  • Importer Interface
  • Parser Interface
  • Interface Filter
  • Simple Array Filter
  • Simple Array Ignore Filter
  • Parser Constants
  • Parser Decision Constants
  • Parser Decision
  • Parser Matrix Constants
  • Parser Matrix
  • Parser Specification Constants
  • Parser Specification
  • Parser Specification Converter

Data Generator

  • Data Generator Interface
  • Data Generator Base
  • Service Registry
  • Generator Faker

Processor

  • Interface Processor
  • Interface Writer
  • Node
  • Reference
  • Testcase Data
  • Processor
  • writeMetaData
  • writeStaticData
  • utilCartesian

Testcase Definition Matrix

TestcaseDefinitionMatrix ⇐ TestcaseDefinitionInterface

A test case is one cell in the table.

Kind: global class
Extends: TestcaseDefinitionInterface

  • TestcaseDefinitionMatrix ⇐ TestcaseDefinitionInterface
    • .row
    • .column
    • .name
    • .execute
    • .getFieldName()
    • .createTodos() ⇒ object
    • ._createGeneratorTodo(generatorCmd, type, meta) ⇒ object
    • ._createReferenceTodo(generatorCmd, type, meta) ⇒ object
    • ._createStaticValueTodo(generatorCmd, type, meta) ⇒ object
    • ._createMultirowSectionTodo(section) ⇒ array

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:c'

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

ParamTypeDescription
generatorCmdstringThe generator command
typestringrow or column. Indicating if it is the row or column data
metaobjectThe 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

ParamTypeDescription
generatorCmdstringThe generator command
typestringrow or column. Indicating if it is the row or column data
metaobjectThe 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

ParamTypeDescription
generatorCmdstringThe generator command
typestringrow or column. Indicating if it is the row or column data
metaobjectThe 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

ParamTypeDescription
sectionobjectThe current multiRowSection
← Validate MissingTable Matrix →
  • TestcaseDefinitionMatrix ⇐ TestcaseDefinitionInterface
    • testcaseDefinitionMatrix.row
    • testcaseDefinitionMatrix.column
    • testcaseDefinitionMatrix.name
    • testcaseDefinitionMatrix.execute
    • testcaseDefinitionMatrix.getFieldName()
    • testcaseDefinitionMatrix.createTodos() ⇒ object
    • testcaseDefinitionMatrix._createGeneratorTodo(generatorCmd, type, meta) ⇒ object
    • testcaseDefinitionMatrix._createReferenceTodo(generatorCmd, type, meta) ⇒ object
    • testcaseDefinitionMatrix._createStaticValueTodo(generatorCmd, type, meta) ⇒ object
    • testcaseDefinitionMatrix._createMultirowSectionTodo(section) ⇒ array
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io