Nanook

Nanook

  • Docs
  • API
  • GitHub

›Model

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 Interface

TableInterface

Defines the interface for a table. All the table models must Implement this interface.

Kind: global class

  • TableInterface
    • .name
    • .meta
    • .tableType
    • .getTestcaseForName(testcaseName) ⇒ object
    • .getTestcasesForExecution()
    • .processRanges(testcaseName) ⇒ array

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

tableInterface.getTestcaseForName(testcaseName) ⇒ object

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

ParamTypeDescription
testcaseNamestringThe name of the testcase

tableInterface.getTestcasesForExecution()

This generator returns all the testcases which should be executed

Kind: instance method of TableInterface

tableInterface.processRanges(testcaseName) ⇒ array

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

ParamTypeDescription
testcaseNamestringThe reference test case name
← Logger MemoryTestcase Definition Interface →
  • TableInterface
    • tableInterface.name
    • tableInterface.meta
    • tableInterface.tableType
    • tableInterface.getTestcaseForName(testcaseName) ⇒ object
    • tableInterface.getTestcasesForExecution()
    • tableInterface.processRanges(testcaseName) ⇒ array
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io