Skip to content

Commit 8a84bc5

Browse files
committed
Add testcontainers explanation to readme
1 parent 7dc2609 commit 8a84bc5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,15 @@ If your Elasticsearch URI is not `localhost` and/or the cluster name is differen
4141
- `ES_CLUSTER_NAME`
4242

4343
Once everything is up and running open the browser and go to [http://localhost:8080](http://localhost:8080). You should see Swagger to interact with.
44+
45+
## Run testcontainers tests
46+
47+
The integration tests written relying on [testcontainers](https://www.testcontainers.org/) to spin up Elasticsearch on the spot to run tests against.
48+
49+
To run them just execute below command:
50+
51+
```bash
52+
$ mvn clean verify
53+
```
54+
55+
Make sure you have your docker running.

0 commit comments

Comments
 (0)