[E2E] Migrate from bash script to Go based testing framework

Aperta
#1,653 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@chanchiwai-ray ci sta già lavorando.

Dal 6/11/2026.

  • #1664 di @chanchiwai-ray — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, go
Ambito
testing

Direzione di ricerca

The issue proposes replacing the existing bash based end to end tests with a Go framework using Ginkgo, but does not name test files or a migration scope. First inspect the current end to end test scripts and how they are run, then review Ginkgo's framework features. Done means the migration scope is agreed and the tests use the new framework with the requested reporting and maintenance features.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

As discussed internally, for the long term maintenance, I proposed to migrate the current bash based e2e testing to ginkgo based testing framework for the following reasons:

  • better reporting; support json and xml output
  • better maintenance; event logging, code testing, and etc
  • "Behavior Driven Development" (BDD) -like framework for testing
  • features from ginkgo; test filtering, test parallelism, profiling, and more

The downside of adopting a new framework in Go is complexity: writing a test may require knowledge of Go.

Lingua principale
Go
Stelle
552
Fork
96
Merge medio
4g 10h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di canonical/microcloud

Tutte le issue di canonical/microcloud

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.