pritidesai opened a new issue #342: Unit Test - fileoperations.go
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/342
 
 
   Add unit tests to validate methods under utils package which are defined in 
fileoperations.go
   
   All unit tests should go in fileoperations_test.go under utils/
   
   ```
   func MayExists(file string) bool {
   ...
   }
   
   func FileExists(file string) bool {
   ...
   }
   
   func IsDirectory(filePath string) bool {
   ...
   }
   
   func CreateActionFromFile(manipath, filePath string) (*whisk.Action, error) {
   ...
   }
   
   func ReadProps(path string) (map[string]string, error) {
   ...
   }
   
   func WriteProps(path string, props map[string]string) error {
   ...
   }
   
   func LoadConfiguration(propPath string) ([]string, 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

Reply via email to