testcontainers / testcontainers-go

Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
https://golang.testcontainers.org
MIT License
3.68k stars 504 forks source link

chore: use require instead of t.Fatal #2855

Closed mmorel-35 closed 3 weeks ago

mmorel-35 commented 3 weeks ago

What does this PR do?

This uses require instead of t.Fatal calls

Why is it important?

This reduce the number of lines required to make an assertion. It also make the assertion easier to understand.

Related issues

netlify[bot] commented 3 weeks ago

Deploy Preview for testcontainers-go ready!

Name Link
Latest commit aeeb7abb2f42537131617ec39ba2d61e8511463f
Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/6720ab29558e590008e92fdd
Deploy Preview https://deploy-preview-2855--testcontainers-go.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.