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

›File 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

Parser Specification

Classes

ImporterSpecification ⇐ ParserBase

The parser implementation to parse specification tables.

SpecificationModel

The model for a specification object

ImporterSpecification ⇐ ParserBase

The parser implementation to parse specification tables.

Kind: global class
Extends: ParserBase

  • ImporterSpecification ⇐ ParserBase
    • .parseSpecification(sheetName, importer) ⇒ object
    • .checkForUnusedRules(sheetName, importer, severityStartRow, sheetEndColumn, rules)
    • .parseFields(sheetName, importer, severityStartRow, ruleStartRow, sheetEndColumn) ⇒ object
    • .parseSeverities(sheetName, importer, severityStartRow, ruleStartRow, sheetEndColumn) ⇒ map
    • .parseRules(sheetName, importer, ruleStart, endRow) ⇒ object
    • .checkSheetRows(sheetName, importer) ⇒ object
    • .getEndColumn(importer, sheetName) ⇒ number

importerSpecification.parseSpecification(sheetName, importer) ⇒ object

Parses a single Spreadsheet

Kind: instance method of ImporterSpecification
Returns: object - specification The created specification model for the sheet

Param Type Description
sheetName string The name of the sheet
importer object The importer

importerSpecification.checkForUnusedRules(sheetName, importer, severityStartRow, sheetEndColumn, rules)

Each rule defined must be used. Unused rules should be deleted from the table

Kind: instance method of ImporterSpecification

Param Type Description
sheetName string The name of the sheet
importer object The importer
severityStartRow number The start row of the severities
sheetEndColumn number The last column of the sheet
rules object All the existing rules stored by there rule name

importerSpecification.parseFields(sheetName, importer, severityStartRow, ruleStartRow, sheetEndColumn) ⇒ object

Parses the fields out of the Spreadsheet. This is the section where the fields of the interface are defined

Kind: instance method of ImporterSpecification
Returns: object - data on object with the fields and the fieldOrder

Param Type Description
sheetName string The name of the sheet
importer object The importer
severityStartRow number The start row of the severities
ruleStartRow number The start row of the rules
sheetEndColumn number The last column of the sheet

importerSpecification.parseSeverities(sheetName, importer, severityStartRow, ruleStartRow, sheetEndColumn) ⇒ map

Load the rules defined in the rule section

Kind: instance method of ImporterSpecification
Returns: map - severities A map of the existing severities

Param Type Description
sheetName string The name of the sheet
importer object The importer
severityStartRow number The severity start row
ruleStartRow number The rule start row
sheetEndColumn number The last column of the sheet

importerSpecification.parseRules(sheetName, importer, ruleStart, endRow) ⇒ object

Load the rules defined in the rule section

Kind: instance method of ImporterSpecification
Returns: object - rules An object with the rules

Param Type Description
sheetName string The name of the sheet
importer object The importer
ruleStart number The rule start row
endRow number The last row of the sheet

importerSpecification.checkSheetRows(sheetName, importer) ⇒ object

Checks that the specification contains all the needed sections

Kind: instance method of ImporterSpecification
Returns: object - rows The following parameters {severityStartRow, ruleStartRow}

Param Type Description
sheetName string The name of the sheet
importer object The importer

importerSpecification.getEndColumn(importer, sheetName) ⇒ number

Parses the sheet to get the last row of the table.

Kind: instance method of ImporterSpecification
Returns: number - endRow The last row of the table

Param Type Description
importer object The importer
sheetName string The name of the sheet

SpecificationModel

The model for a specification object

Kind: global class

← Parser Specification ConstantsParser Specification Converter →
  • Classes
  • ImporterSpecification ⇐ ParserBase
    • importerSpecification.parseSpecification(sheetName, importer) ⇒ object
    • importerSpecification.checkForUnusedRules(sheetName, importer, severityStartRow, sheetEndColumn, rules)
    • importerSpecification.parseFields(sheetName, importer, severityStartRow, ruleStartRow, sheetEndColumn) ⇒ object
    • importerSpecification.parseSeverities(sheetName, importer, severityStartRow, ruleStartRow, sheetEndColumn) ⇒ map
    • importerSpecification.parseRules(sheetName, importer, ruleStart, endRow) ⇒ object
    • importerSpecification.checkSheetRows(sheetName, importer) ⇒ object
    • importerSpecification.getEndColumn(importer, sheetName) ⇒ number
  • SpecificationModel
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