pritidesai opened a new issue #329: Unit Test - manifestreader.go URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/329 Add unit tests to validate methods under deployers package which are defined in [manifestreader.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/deployers/manifestreader.go). All unit tests should go in manifestreader_test.go under [deployers/](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/deployers) ``` // parse manifest file func (deployer *ManifestReader) ParseManifest() (*parsers.ManifestYAML, *parsers.YAMLParser, error) { ... } // initialize root level package from manifest file func (reader *ManifestReader) InitRootPackage(manifestParser *parsers.YAMLParser, manifest *parsers.ManifestYAML) error { ... } // parse manifest file, compose all the openwhisk entities involved func (deployer *ManifestReader) HandleYaml(sdeployer *ServiceDeployer, manifestParser *parsers.YAMLParser, manifest *parsers.ManifestYAML) error { ... } ``` ---------------------------------------------------------------- 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
