apache / apache/openwhisk-wskdeploy
Unit Test - errorhandlers.go
- 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 [errorhandlers.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/utils/errorhandlers.go)
All unit tests should go in errorhandlers_test.go under utils/
```
// panic when there is an error
func Check(e error) {
...
}
```
Contributor guide
Research direction
Start with utils/errorhandlers.go, focusing on the methods under the utils package such as Check, which panics when given an error. Add the unit tests to utils/errorhandlers_test.go and run the utils package tests. Done means the relevant error-handler methods have test coverage for their stated behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100