Example project for a maven driven test with Vagrant
- vagrant installed on dev host
- VirtualBox installed on dev host
In phase 'Integration' Maven starts a Vagrant instance and starts a test against a microservice.
-
pre-integration-test:
- Start Vagrant VM
- Install Java
- Start microservice on port 7081
-
integration-test:
- run a test against the rest interface of the microservice
-
post-integration-test:
- Shutdown Vagrant VM
A simple microservice for the tests with Vagrant.