sebastiandaschner blog


Acceptance tests with WireMock & Kubernetes (Video)

#kubernetes #testing tuesday, june 27, 2017

I have uploaded a video in which I show how to mock external systems in acceptance tests using WireMock and Kubernetes.

Abstracting running processes to logical service names enables us to change the connected external system to a mock system for acceptance tests. This is done without changing the application that we’re testing against.

In the video I use Kubernetes together with WireMock and JUnit to test a Java EE 7 application.

You can find the code of the hello-cloud and greeting-processor application on GitHub.

If you’re interested in workshops about testing, check out my offered workshops.

 

Found the post useful? Subscribe to my newsletter for more free content, tips and tricks on IT & Java: