JUnit, Java's most ubiquitous testing framework, is getting an update. Yes, JUnit 5 is a complete rewrite that decouples "JUnit the Platform" from "JUnit the Tool" and makes the platform available to other testing frameworks, which might very well redefine the future of testing on the JVM. More than that, it evolves the API and has a very promising extension model.
Full-stack testing can be a widespread and involved task. There are unit tests and end-to-end tests, but how do you know where to focus your efforts? In this article, David Copeland looks at the kinds of tests and how to balance the interplay between those tests and the overall software development effort.
Automated acceptance testing reduces time wasted in manual testing and bug fixing, and when combined with Behaviour-Driven Development, can guide development effort. But it requires skill, practice and discipline. The Screenplay Pattern helps teams address these difficulties and is where you may end up by mercilessly refactoring Page Objects using SOLID design principles.
In the fifth instalment of this series, we will describe what is new within Apple Developer Tools, including Xcode Playgrounds, LLDB, UI testing, Interface Builder, etc.
Stopping after unit testing is like starting automobile production after testing the nuts and bolts. This article investigates some important techniques in integration testing.
Matt Honeycutt introduces SpecsFor, a .NET unit and integration test framework, explaining how to set it up, how to create the first tests, and provides a few hints on advanced usage scenarios. 4
At the recent Agile Singapore conference Kevlin Henney gave two talks focusing on the importance of simplicity in architecture and implementation and on programming with Good Unit Tests (GUTS).
In this important and thorough treatise “Integration Testing from the Trenches” Nicolas Frankel starts from basics and develops integration testing with a casual formalism that's intuitive and fun.
Using so-called "matcher libraries" to implement custom assertions to make tests more readable and maintainable. 2
Quality Code book covers different aspects of SDLC with focus on delivering quality product. InfoQ spoke with author Stephen Vance about the book and best practices for testing applications.
To refactor legacy code, the ideal is to have a suite of unit tests to prevent regressions. However it's not always that easy. This article describes a methodology to safely refactor legacy code. 7
Hadoop MapReduce jobs have a unique code architecture that raises interesting issues for test-driven development. In this article Michael Spicuzza shows how to use MRUnit to solve these problems. 1