mocking
-
Core Java
Mastering Mocking in Spock: Clean and Maintainable Tests
When it comes to testing in Java, Spock is a powerful and expressive framework that combines simplicity with an intuitive…
Read More » -
Software Development
Mock APIs with Playwright
API testing is an essential part of modern software development, ensuring that your APIs function as expected. However, manually mocking…
Read More » -
Enterprise Java
Seven Testing Sins and How To Avoid Them
Throughout this article I will be using Java within code snippets, whilst also using JUnit and Mockito. This article aims…
Read More » -
Enterprise Java
Simplify integration testing of legacy application with Spock 1.2
Learn how leverage Spock 1.2 to slice a Spring context of a legacy application writing integration tests. Have you ever…
Read More » -
Enterprise Java
Spock 1.2 – hassle-free Spring beans mocking in integration tests
Discover how to automatically inject Spock’s mocks and spies into the Spring context using Spock 1.2. Stubs/mocks/spies in Spock (and…
Read More »