This project aims to demo unit tests, integration tests, and cucumber tests.
To run all the unit tests
./gradlew test --tests live.stoicism.productsampleapi.unit.ProductControllerTest
To run all the integration tests
./gradlew test --tests live.stoicism.productsampleapi.integration.ProductControllerIntegrationTest
To run the cucumber tests
./gradlew test --tests live.stoicism.productsampleapi.bdd.RunCucumberTest
To build the docker image
./build-image.sh
To start from docker compose
docker compose -f ./src/main/docker/app.yml up -d
To stop from docker compose
docker compose -f ./src/main/docker/app.yml down
To show allure report Must install allure locally first
allure serve build/allure-results