A common syndrome in development shops today is the repeated creation of over-the-wire stubs and mocks for testing. In this article Wojciech Bulaty covers how Java developers can avoid reinventing the wheel and leverage Wiremock to build over-the-wire HTTP(s) stubs.
JUnit, Java's most ubiquitous testing framework, is getting an update. In part one of our JUnit 5 coverage, we looked at how we got here and wrote some preliminary tests. In part two, we take a closer look at how to run tests and at some of the very cool new features JUnit 5 brings to the table for us developers.
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.
The approach to full stack testing can be daunting. There's more than one way to test, but how do you balance your efforts? In this article, David Copeland looks at solving that challenge.
In this article we explore how to create automated fluent BDD scenarios using the Screenplay Pattern – a possible outcome of mercilessly refactoring Page Objects using SOLID design principles. 3
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.