Skip to content

tnanhd/product-sample-api

Repository files navigation

Product Management API

This project aims to demo unit tests, integration tests, and cucumber tests.

Usage/Examples

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

About

product-sample-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages