Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 2.25 KB

DOCS.md

File metadata and controls

87 lines (67 loc) · 2.25 KB

Dtdt

This is a Dtdt class. It’s a A test case generator from a “D”ecision “T”ree to “D”ecision “T”able. Overall flow is the following

  • setContents(contents)
  • initialize()
  • printTable()

Kind: global class

new Dtdt()

this._clean()

dtdt.setContents(contents) ⇒ Dtdt

fill this.contents from outside of this instance

Kind: instance method of Dtdt
Returns: Dtdt -

this This object

Param Type Description
contents string

Target Contents

dtdt.initialize() ⇒ Dtdt

In this method, it aims to fill the following parameters

  • this.tree from YAML
  • this._parseTree()
  • this.combinations
  • this.conditions
  • this.actions
  • this.matrix

Kind: instance method of Dtdt
Returns: Dtdt -

this This object


Access: public

dtdt.printTable()

In this method, it aims to print the following parameters

  • this.matrix

Kind: instance method of Dtdt
Access: public

dtdt.print()

In this method, it aims to print the following parameters

  • this.combinations

Kind: instance method of Dtdt
Access: public

dtdt._clean()

PRIVATE:clean up all parameters

Kind: instance method of Dtdt

dtdt._parseTree()

PRIVATE:parse this.tree

Kind: instance method of Dtdt