This example shows how to use the testcontainers package with a simple BDD test.
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-01
or via the command line:
go test -race -count=1 ./examples/example_01/... -timeout=300s -test.v -test.run ^TestFeatures$