-
Notifications
You must be signed in to change notification settings - Fork 25
Building the Application
To run the complete build, which will clean up all generated files, build the entire project, run all unit tests, deploy to the local maven repository, and run the system tests, from the parent project run:
mvn clean install
You can start the web application in development mode using the jetty container from the petstore-app module by running:
mvn jetty:run
To run the tests in the current module:
mvn test
In the petstore-infrastructure module, tests are integration tests that perform changes and queries to the test database, whatever the build profile used. All pending migrations are automatically applied (see Migrating the database).
In the petstore-system-tests, tests are system tests run against an application server.
System tests are run as part of the build.
To run the system tests without running the complete build, you can run maven test goal in the petstore-system-tests module:
mvn test