In this video, I'll show a system test project structure with a separate project, and the motivation therefore. We'll see examples for more complex system tests, that reside in the system test project, and how to connect to and control a mock server, where I use WireMock in my example. The system test examples that involve a mock server verify the communication between the application-under-tests and external microservices. We will once again make use of abstraction and delegation to make our acceptance tests readable and maintainable. We ensure reusability by separating the test life cycle from the test environment life cycle which especially benefits us once we have more complex examples.
For the whole content, see here: https://blog.sebastian-daschner.com/entries/efficient-testing-video-course
1 Comments