devcontainers / devcontainers/cli

[feature] remove test containers after every run

Đang mở
#409 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
feature-request
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.