Are you tired of writing tests which have a lot of boilerplate code? If so, get started with Spock Framework >>

Testing

WireMock Tutorial: Introduction to Stubbing

This blog post describes how we can stub HTTP requests with WireMock. After we have finished this blog post, we: Know what stubbing is. Can configure the returned HTTP status code. Know how we can configure the returned HTTP headers. Understand how

WireMock Tutorial: Request Matching, Part Four

This blog post describes how we can specify expectations for the XML document that is received by our WireMock server. After we have finished this blog post, we: Can compare the actual XML document with the expected XML document. Understand how we

Sample Lesson: Introduction to TestContainers

As you might remember, earlier this summer I asked feedback from a sample topic of my testing course (Introduction to JUnit 4). I was lucky because I received a lot of feedback, and that’s why I decided to release another sample lesson that

WireMock Tutorial: Request Matching, Part Three

This blog post describes how we can specify expectations for the JSON document that is received by our WireMock server. After we have finished this blog post, we: Can compare the actual JSON document with the expected JSON document. Understand how

WireMock Tutorial: Request Matching, Part Two

This blog post describes how we can use the request matching support of WireMock when we want specify expectations for cookies, HTTP headers, and request parameters. After we have finished this blog post, we: Can compare the actual cookie value with