Skip to content

Add unit tests for etcdctl #20171

Open
Open
@siyuanfoundation

Description

@siyuanfoundation

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions