This example shows how to use the testcontainers package interacting directly with a custom API running on a container.
To run this example, you need to have Go installed on your system.
Once you have Go installed, you can run the example by following these steps:
- Clone the repository:
git clone https://github.com/jfelipearaujo/testcontainers.git
- Run the example with Makefile:
make run-tests-05
or via the command line:
go test -race -count=1 ./examples/example_05/... -timeout=300s -test.v -test.run ^TestFeatures$