ucsb-cs156 / proj-happycows

https://ucsb-cs156.github.io/proj-happycows/
1 stars 0 forks source link

Introduce integration and end-to-end tests #107

Closed andrewpengucsb closed 5 months ago

andrewpengucsb commented 5 months ago

In this PR we add the setup necessary to enable the addition of integration and end-to-end tests to proj-happycows. This includes

Note about some changed files: By adding WiremockService in HappierCowsApplication.java, it requires some tests under /jobs to have a @MockBean with the service in order to load the application context.

This was done in parallel with the writing of this tutorial https://ucsb-cs156.github.io/topics/spring_react/spring_react_testing_pyramid.html