As software producers (and users) it’s relieving to see that the vast majority of developers – nearly 97% – do commit to unit testing their apps (i.e. with JUnit & TestNG), and half them apply some kind of mocking framework as well (i.e. Mockito / PowerMock). About 1 in every 3 developers also automate their browser testing (Selenium / Selenide) and 1/5th practise performance and load testing. Integration testing and spec-based or behavior driven testing are not incredibly common still.
Testing frameworks are in a maturing technology segment, where dominant technologies like JUnit, Mockito and Selenium are delivering solid-enough performance to raise eyebrows among a larger population, thus carving the way for small alternatives to build upon foundation laid out by others. The top four most used testing frameworks – JUnit (82.5%), Mockito (41.5%), Selenium (29%) and JMeter (19.5%) – are fully complementary to one another and cover entirely different areas of testing.
For more about unit testing and mocking, we invite you to check out Go Away Bugs! Keeping your code safe with JUnit, TestNG and Mockito.
DOWNLOAD THE PDF