This is an integration test project for the hello-api project. This uses:
- Junit 4: testing framework
- REST Assured: Good for integration testing real-running services (think of it as a more programmatic cURL)
- WireMock: For the purposes here, registers stubbed responses in a standalone WireMock server run as its own container; this representing stubbing out an external dependent service beyond the domain-under-test or ownership.
- Pull down the hello-api project locally (and read it's README)
- Run the
./local-deps.sh
script in the hello-api project to standup external dependencies - In this project, simply run the JUnits. That's it.
- (Optionally) If running subsequent runs, you may need to re-run
./local-deps.sh
from hello-api if integration tests are taking destructive action agains the seed data
TODO: currently under development!