devcontainers / devcontainers/cli

[feature] remove test containers after every run

Aperta
#409 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
feature-request
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

I :heart: the tool thanks for creating it.

I observed that test containers don't stop and removed after every completion of tests.

After a successful run:
```
🏃 Starting test(s)...

🧪 Starting 'android-cli' tests...
🧪 Executing scenarios for feature 'android-cli'...
⚠️ No scenario file found at '/workspaces/devcontainer-features/test/android-cli/scenarios.json'. Skipping...

================== TEST REPORT ==================
✅ Passed: 'android-cli'
```
I observe the test containers still run:
```
node ➜ /workspaces/devcontainer-features/test/color (main) $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
32aa248c7dc0 vsc-1676027268210-864360691c93743c8b0c629ee643756c-features "/bin/sh -c 'echo Co…" 9 seconds ago Up 7 seconds flamboyant_moore
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No source files or tests are named. Reproduce the reported test run, then use `docker ps` to inspect whether the test container remains after completion; done means containers created for the run have been removed after a successful test.

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

Valutazione

Stack tecnologico
docker, typescript
Ambito
devops, testing
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.