Skip to content

Improve unit tests #161

@maximilien

Description

@maximilien

Based on various discussions on different PRs (pasted below). But the gist is to improve unit tests for commands.

From @rhuss comment on PR #66

  • Refactor tests to become more unit tests. E.g. commands should be tested only that they propagate the proper info to the library calls (e.g. in serving), the library calls should then use the serving mock library. Only a suggestion, but tests currently are not easy to maintain.

100% agree. I'd use Ginkgo/Gomega and Counterfeiter.... Or similar tooling

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions