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

Table Matrix

TableMatrix ⇐ TableInterface

This is the

Kind: global class
Extends: TableInterface

  • TableMatrix ⇐ TableInterface
    • .rows
    • .columns
    • .tableType ⇒ string
    • .getTestcaseForName(testcaseName) ⇒ object
    • .createTestcaseName()
    • .getTestcasesForExecution()
    • .processRanges(testcaseName) ⇒ array

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

tableMatrix.tableType ⇒ string

Stores the type of the table

Kind: instance property of TableMatrix
Returns: string - The type of this table.

tableMatrix.getTestcaseForName(testcaseName) ⇒ object

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

Kind: instance method of TableMatrix
Returns: object - testcaseDefinition returns the testcase definition

ParamTypeDescription
testcaseNamestringThe 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

tableMatrix.processRanges(testcaseName) ⇒ array

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

ParamTypeDescription
testcaseNamestringThe reference test case name
← Testcase Definition MatrixImporter xlsx →
  • TableMatrix ⇐ TableInterface
    • tableMatrix.rows
    • tableMatrix.columns
    • tableMatrix.tableType ⇒ string
    • tableMatrix.getTestcaseForName(testcaseName) ⇒ object
    • tableMatrix.createTestcaseName()
    • tableMatrix.getTestcasesForExecution()
    • tableMatrix.processRanges(testcaseName) ⇒ array
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io