testcontainers-python
testcontainers-python copied to clipboard
Add ResourceCleaner for stop containers after exit (#104)
I suggest to stop all containers after application stop. I used atexit like JVMHookResourceReaper in testcontainers-java.
Codecov Report
Merging #208 (3e0175b) into master (c5b7b1c) will decrease coverage by
0.40%. The diff coverage is61.53%.
:exclamation: Current head 3e0175b differs from pull request most recent head d32e089. Consider uploading reports for the commit d32e089 to get more accurate results
@@ Coverage Diff @@
## master #208 +/- ##
==========================================
- Coverage 87.12% 86.72% -0.41%
==========================================
Files 30 30
Lines 839 851 +12
Branches 58 58
==========================================
+ Hits 731 738 +7
- Misses 78 83 +5
Partials 30 30
| Impacted Files | Coverage Δ | |
|---|---|---|
| testcontainers/core/docker_client.py | 56.36% <61.53%> (+0.54%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
@mrk-andreev Any updates on this?