You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/16 00:25:39 UTC

[GitHub] pritidesai opened a new issue #329: Unit Test - manifestreader.go

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:
users@infra.apache.org


With regards,
Apache Git Services