- JDK 21
- Maven 3.9
- Docker CE 28
Docker is for running integration tests against MySQL and setup an MySQL instance to run the app.
Docker settings of the Mysql container can be found at ./webapi/local-env
- To run unit tests only
./mvnw clean test
- To run integration tests only
./mvnw clean verify -P integration-test
- To run all tests:
./mvnw clean verify -P ci-server
- From the project directory, execute that script
./local-env/app.sh
- In case the script is not executable, please set this permission first:
chmod 0755 ./local-env/app.sh
- In order to have good testing experience, please import sample data of 9000 meals distributed across 300 users. It can be downloaded at:
https://www.dropbox.com/s/bdyulwio8gymie0/sample_data.sql?dl=0
- Pass of all users are
test1234