Unit Testing

Showing 1-4 of 4 results
EngineeringIcon ChevronTechnology

Investing in Unit Testing: Benefits and Approaches

By Dacian Florea

Stakeholders demand quick fixes for a buggy app release. Such patching is costly, and does not always offer a complete solution. Break the cycle with unit testing, a worthwhile investment in project quality.

10 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Picasso: How to Test a Component Library

By Boris Yordanov

Testing can be a daunting task even for experienced teams with an abundance of resources. How do Toptal developers write tests and what do they use? In this article, Toptal React Developer Boris Yordanov introduces you to Picasso, a component library designed by our developers for in-house use.

7 minute readContinue Reading
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.