🏫 Testing Workshop for Factoria F5
Sample used in Adevinta Spain's Factoria F5 masterclasses
- Clone/fork this repo or create your own using spring initializr
- Setup Continuous Integration using Github Actions
Review the implementation:
- FibonacciController => FibonacciAdder => FibonacciList ( FibonacciListFunctional or FibonacciListImperative )
- FibonacciConfiguration
Review the unit tests:
Review the integration test:
./gradlew bootRun
And open http://localhost:8000/fibonacci/10 in a browser or execute:
curl http://localhost:8000/fibonacci/10
./gradlew test
./gradlew integrationTest
- IntelliJ Idea or any other IDE you like
- Any OpenJDK Java 11 like Adoptium