NanookNanook
  • [ DOCS ]
  • [ API ]
  • [ BLOG ]
  • [ GITHUB ]

›Processor

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

Node

Node

When traversing the tables we first build a graph representing the data generation order. The graph is build out of this nodes

Kind: global class

  • Node
    • .todosGenerator ⇒ array
    • ._buildTodos()
    • .createReferenceInstanceId(referenceCmd) ⇒ string
    • .isSelfReference(referenceCmd) ⇒ boolean
    • .clone()
    • .getCloneFor(nodeToClone) ⇒ object

node.todosGenerator ⇒ array

returns an array with all the todos. It will crawl all the referenced nodes and adds the todos of them

Kind: instance property of Node
Returns: array - todos An array of todos

node._buildTodos()

Build a local variable with all the todos

Kind: instance method of Node

node.createReferenceInstanceId(referenceCmd) ⇒ string

Creates the instanceId for a reference. The instanceId is unique for each target object. If two reference points to the same intance of a target the same instanceId is used. If no suffix is given

Kind: instance method of Node
Returns: string - instanceId The reference instance id

Param Type Description
referenceCmd object The reference command

node.isSelfReference(referenceCmd) ⇒ boolean

Checks if the given reference is a self reference.

Rules: No instanceIdSuffix The test case name is same as node test case name The TableName is same as node table name

Kind: instance method of Node
Returns: boolean - status True, if the reference is a self reference

Param Type Description
referenceCmd object The reference command

node.clone()

Clones the node

Kind: instance method of Node

node.getCloneFor(nodeToClone) ⇒ object

Clones a node for this parent. If this node where already cloned, the previous clone will be returned.

Kind: instance method of Node
Returns: object - clone The clone of the node

Param Type Description
nodeToClone object The node to be cloned
← Interface WriterReference →
  • Node
    • node.todosGenerator ⇒ array
    • node._buildTodos()
    • node.createReferenceInstanceId(referenceCmd) ⇒ string
    • node.isSelfReference(referenceCmd) ⇒ boolean
    • node.clone()
    • node.getCloneFor(nodeToClone) ⇒ object
Nanook
[ DOCS ] Tutorials Guide
[ MORE ] About Imprint Privacy Policy GitHub Manage Cookies
© 2018-2026 NANOOK.XHUB.IO — An Open Source Project by BeeBack UG.
[ COOKIE PREFERENCES ]

We use cookies to analyze site usage and improve your experience. You can choose which cookies to allow below. See our Privacy Policy for details.

ESSENTIALAlways active
Provider nanook.xhub.io (First Party)
Cookies nanook-theme — Stores your theme preference (CRT/INK)
Duration Persistent (localStorage)
Purpose Remember your display preferences across visits
ANALYTICS
Provider Google LLC (Google Analytics 4)
Cookies _ga, _ga_PMNJR2G9ZH — Distinguish unique visitors and sessions
Duration _ga: 2 years, _ga_*: 2 years
Purpose Measure site usage, page views, and traffic sources to improve the site. IP addresses are anonymized.
Privacy Google Privacy Policy