devcontainers / devcontainers/cli

[feature] remove test containers after every run

Open
#409 0 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.