pritidesai opened a new issue #327: Unit Test - yamlparser.go URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/327 Add unit tests to validate methods under parsers package which are defined in [yamlparser.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/parsers/yamlparser.go). All unit tests should go in `yamlparser_test.go` under [parsers/](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/parsers) ``` // Compose methods // compose trigger func (trigger *Trigger) ComposeWskTrigger(kvarr []whisk.KeyValue) *whisk.Trigger { ... } // compose rule func (rule *Rule) ComposeWskRule() *whisk.Rule { ... } // compose package func (pkg *Package) ComposeWskPackage() *whisk.Package { ... } // get list of actions func (pkg *Package) GetActionList() []Action { ... } // get list of triggers func (pkg *Package) GetTriggerList() []Trigger { ... } // get list of rules func (pkg *Package) GetRuleList() []Rule { ... } // get list of feeds func (pkg *Package) GetFeedList() []Feed { ... } ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
