add cli tests
matfax opened this issue · 1 comments
matfax commented
cli commands currently have no tests. Since the command chains became more complex, there should be a simple param check.
matfax commented
cli tests contain cases for each command.
For each command, the verbose output is checked.
Verbose output has to print each exported library method call. This command chain can be checked.
For complex cases, docker commands also have to be checked.
E.g, that docker tag
is called or not, depending on the <source-tag>
, or that the repository is prefixed, depending on the <repository>
.