apache / apache/openwhisk-wskdeploy

Unit Test - qualifiedname.go

Open
#345 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 [qualifiedname.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/utils/qualifiedname.go)

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

```
func ParseQualifiedName(name string, defaultNamespace string) (QualifiedName, error) {
...
}
```

Contributor guide

Open the contributing guide

Research direction

Start by reading utils/qualifiedname.go and the ParseQualifiedName signature, then add tests in utils/qualifiedname_test.go for the methods defined there. Done means the qualified-name behavior is covered by unit tests that pass for the utils package.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.