Skip to content

Packaging the CLI for openSUSE: is there a testsuite or test command for the CLI? #1010

Answered by Kidswiss
kastl-ars asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kastl-ars

Currently, we only have test suites for the operator itself. However the restores in these currently rely on some fairly old bash scripts to create the restore objects manually. We could probably leverage K8up cli's restore command in the future.

How extensive should these tests be? Are they only for verifying that specific architectures were built correctly? E.g. does the binary work? Or do these tests need to be on a functional level? E.g. are there any bugs in the app?

For the first case I think that the k8up --version should be adequate
For the latter, we could incorporate the cli restore commands into the e2e tests

Best Regards

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kastl-ars
Comment options

Answer selected by kastl-ars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants