Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add Integration Tests

Offen
#53 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
bash, go
Bereich
cli, testing

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

Container good first issue needs refinement

/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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SovereignCloudStack/csctl

Alle Issues in SovereignCloudStack/csctl

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.