Nanook

Nanook

  • Docs
  • API
  • GitHub

›Model Decision

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

Validate Missing

Functions

combineTestcases(table) ⇒ object

Combines the existing testcases. So it could be easier to find the open ones Compares each field of a testcase, if all the feields are the same except one, then this field could be combined in one if the values of one field do not exists in the other one. XOR logic. The testcases could be combiened as long as in one loop no new combination was possible

combineTestcasesIsDisjunct(val1, val2)

Checks if the both given values are bitwise disjunct. The parameters are integers. But it could also be an Array of integers.

combineTestcasesSub(tc1, tc2) ⇒ boolean

Combines two testcases into one. This could be done if only one field is different between two testcases. This one field must also be disjunct. Then it will be combined. The tescase2 will be combined with testcase1 into testcase1. Testcase1.skip will be set to true;

Format: const testcase = { id: testcaseId data : { sectionId : { parentSectionId: parentSecId rows: [rowIds] val: 2324323 if section has more than 31 rows the values are splitted val = [2323213,2323232] } } }

combineTestcases(table) ⇒ object

Combines the existing testcases. So it could be easier to find the open ones Compares each field of a testcase, if all the feields are the same except one, then this field could be combined in one if the values of one field do not exists in the other one. XOR logic. The testcases could be combiened as long as in one loop no new combination was possible

Kind: global function
Returns: object - testCaseModel The combined testcase model

ParamTypeDescription
tableobjectThe table model

combineTestcasesIsDisjunct(val1, val2)

Checks if the both given values are bitwise disjunct. The parameters are integers. But it could also be an Array of integers.

Kind: global function

ParamTypeDescription
val1integerThe first value.
val2integerThe second value

combineTestcasesSub(tc1, tc2) ⇒ boolean

Combines two testcases into one. This could be done if only one field is different between two testcases. This one field must also be disjunct. Then it will be combined. The tescase2 will be combined with testcase1 into testcase1. Testcase1.skip will be set to true;

Format: const testcase = { id: testcaseId data : { sectionId : { parentSectionId: parentSecId rows: [rowIds] val: 2324323 if section has more than 31 rows the values are splitted val = [2323213,2323232] } } }

Kind: global function
Returns: boolean - isCombined True if the testcases where combined

ParamTypeDescription
tc1objectThe first testcase
tc2objectThe second testcase
← Validate HelperTestcase Definition Matrix →
  • Functions
  • combineTestcases(table) ⇒ object
  • combineTestcasesIsDisjunct(val1, val2)
  • combineTestcasesSub(tc1, tc2) ⇒ boolean
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io