testcontainers-python
testcontainers-python copied to clipboard
feat(core): Protocol support for container port bind and expose
Fix: #674
Changes:
- Proper type hinting for ports bindings, support strings like
8080/tcpor8125/udp - Backward compatible with
int - More test coverage
- Improve documentations regarding the usage of
with_bind_portsandwith_exposed_ports
Any comments will be appreciated
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Please upload report for BASE (
main@e9e40f9). Learn more about missing BASE report.
Additional details and impacted files
@@ Coverage Diff @@
## main #690 +/- ##
=======================================
Coverage ? 85.84%
=======================================
Files ? 12
Lines ? 678
Branches ? 106
=======================================
Hits ? 582
Misses ? 73
Partials ? 23
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.