JUnit

Showing 1-2 of 2 results
EngineeringIcon ChevronBack-end

Build with Confidence: A Guide to JUnit Tests

By Nikhil Bansal

In an age of continuous delivery, Java developers have to be confident that their changes don't break existing code, hence automated testing. There's more than one valid approach to it, but how can you keep them straight?

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

A Unit Testing Practitioner’s Guide to Everyday Mockito

By Ivan Pavlov

Using Mockito is not just a matter of adding another dependency. It requires changing how you think about your unit tests while removing a lot of boilerplate. In this article, we cover multiple mock interfaces, listening invocations, matchers, and argument captors, and see firsthand how Mockito makes your tests cleaner and easier to understand.

22 minute readContinue Reading

Join the Toptal® community.