Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Integration Tests #53

Open
guettli opened this issue Jan 31, 2024 · 0 comments
Open

Add Integration Tests #53

guettli opened this issue Jan 31, 2024 · 0 comments
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling good first issue Good for newcomers

Comments

@guettli
Copy link
Contributor

guettli commented Jan 31, 2024

/kind feature

Describe the solution you'd like

As a user of csmctl, I want to be sure that the command-line tool works as expected.

New features should not accidentally break existing features.

I would like to have a test which checks:

  • the calculated hash values don't change with a new version of csmctl. The hash should only change if the content of the cluster-stack has changed.
  • The modes (hash-mode, stable-mode, ...) work like expected
  • The templating works correctly.

Anything else you would like to add:

Since csmctl is a command-line tool, we could write this test as a bash script. If we do so, we should use set -euxo pipefail to be sure that no errors are overlooked.

@guettli guettli added the good first issue Good for newcomers label Jan 31, 2024
@jschoone jschoone added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling good first issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

2 participants