Add unit tests for etcdctl
Open
stage/tracked
type/feature
- Dominant language
- Go
- Stars
- 52.3k
- Forks
- 10.5k
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 44
Description
### What would you like to be added?
Add unit tests for etcdctl.
Tasks include:
- [ ] Add a fake client
- [ ] Add unit tests for most files in etcdctl/ctlv3/command
### Why is this needed?
Right now all the changes to `etcdctl` can only manually tested, which is hard to verify for reviewers. To improve reliability, we need to have proper testing.
Contributor guide
Assessment
This issue has not been assessed yet.