This blog post explains what a spy is, describes how we can create spies from the scratch and use them in our automated tests, and helps us to understand when we should use spies. Read More
Unit Testing
This blog post explains what a dummy is, helps us to understand when we should use dummies, and describes how we can create dummies and use them in our automated tests. Read More
This blog post explains what a fake is, describes how a fake works, explains how we can create fakes and use them in our automated tests, and helps us to understand when we should use fakes. Read More
This blog post explains what a mock is, describes how a mock works, explains how we can create mocks and use them in our automated tests, and helps us to understand when we should use mocks. Read More
This blog post describes what a stub is, explains how a stub works, describes how we can create stubs and use them in our automated tests, and helps us to understand when we should use stubs. Read More
This blog post describes how we can create a Gradle project that can compile and run unit tests which use JUnit 5. After we have finished this blog post, we: Can get the required dependencies with Gradle Understand how we can use the Gradle's native JUnit 5 support. Can run our unit tests with Gradle. […] Read more