apache / apache/openwhisk-wskdeploy

Unit Test - dependencies.go

Open
#339 0 comments 0 reactions 0 assignees View on GitHub
priority: low tests: unit
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Add unit tests to validate methods under utils package which are defined in [dependencies.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/utils/dependencies.go).

All unit tests should go in dependencies_test.go under [utils/](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/utils)

```
// determine whether a location has a package feed
func LocationIsBinding(location string) bool {
...
}

// determine whether a location is set to GitHub repo
func LocationIsGithub(location string) bool {
...
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.