Add Integration Tests
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
Rechercherichtung
Start by locating the csmctl command entry point and the existing hash modes and templating behavior. Add an integration test, potentially as a bash script using set -euxo pipefail, that verifies hash stability, mode behavior, and templating. Done means the test catches changes to cluster-stack content without failing on a new csmctl version.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
/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.
- Vorherrschende Sprache
- Go
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SovereignCloudStack/csctl
-
Link Checker DashboardOffenlink-checker
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 73/100
SovereignCloudStack/csctl#235 ·
-
Link Checker DashboardOffenlink-checker
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
SovereignCloudStack/csctl#234 ·
-
Link Checker DashboardOffenlink-checker
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
SovereignCloudStack/csctl#233 ·
-
Link Checker DashboardOffenlink-checker
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
SovereignCloudStack/csctl#230 ·
-
Link Checker DashboardOffenlink-checker
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 25/100
SovereignCloudStack/csctl#228 ·
Alle Issues in SovereignCloudStack/csctl
Ähnliche Issues
-
automation models
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Bug pulumi/pulumi
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 74/100
GoogleCloudPlatform/cluster-toolkit#6437 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
stripe/stripe-cli#2130 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
kovidgoyal/kitty#10625 ·
Maintainer antworten meist innerhalb von 1 Tag