Nanook

Nanook

  • Docs
  • API
  • GitHub

›Data Generator

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

Service Registry

TDGServiceRegistry

The service registry stores all the generators by its name. So each generator could ask the service for an other generator by its service name. So it is possible to compose a generator out of other generators. The registry is also used by the processor to access the generators.

Kind: global class

  • TDGServiceRegistry
    • .services
    • .saveStore()
    • .loadStore()
    • .getGenerator(serviceName)

tdgServiceRegistry.services

The map to store the registered generators

Kind: instance property of TDGServiceRegistry

tdgServiceRegistry.saveStore()

Calls the 'saveStore()' function of each registered Generator

Kind: instance method of TDGServiceRegistry

tdgServiceRegistry.loadStore()

Calls the 'loadStore()' function of each registered Generator

Kind: instance method of TDGServiceRegistry

tdgServiceRegistry.getGenerator(serviceName)

returns the generator with the given service namne. If the generator could not be found an error is thrown.

Kind: instance method of TDGServiceRegistry

ParamTypeDescription
serviceNamestringThe name under the generator is registered
← Data Generator BaseGenerator Faker →
  • TDGServiceRegistry
    • tdgServiceRegistry.services
    • tdgServiceRegistry.saveStore()
    • tdgServiceRegistry.loadStore()
    • tdgServiceRegistry.getGenerator(serviceName)
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io