Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add an e2e test suite for the CLI

Aperta
#410 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, testing

Direzione di ricerca

Start by reading the CLI's existing unit tests and CI configuration to see how commands are tested and how test jobs run. The issue names no specific files or tests, so locate the DevEx commands that use containers and identify how they interact with the terminal. Done means a CI-running end-to-end suite exercises CLI functionality, starting with DevEx; the exact initial cases are not specified.

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

Descrizione

enhancement
What problem are you facing?

The CLI has reasonable (though by no means perfect) unit test coverage. However, there are lots of things that can't be exercised effectively by unit tests. In particular, our DevEx leans extensively on running containers, which we can't do in unit tests, and as a CLI we interact extensively with the terminal, which isn't present in unit tests.

How could Crossplane help solve your problem?

We should introduce a suite of e2e tests covering the functionality in the CLI, starting with the DevEx. Having these tests run in CI will give us greater confidence in our changes and dependency updates.

Lingua principale
Go
Stelle
20
Fork
33
Merge medio
7g 18h
PR unite (30g)
22

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 crossplane/cli

Tutte le issue di crossplane/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.