InfoQ Homepage Unit Testing Content on InfoQ
-
Beyond Page Objects: Next Generation Test Automation with Serenity and the Screenplay Pattern
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.
-
What’s New in iOS 9: Xcode 7 and Other Developer Tools
In the first four installments of this series, we reviewed new and enhanced frameworks included with iOS 9 SD, changes to Swift and Objective-C, and the new Safari content blocking API. In this article, we will describe what is new within Apple Developer Tools, including Xcode Playgrounds, LLDB, UI testing, Interface Builder, etc.
-
You’ve Completed Unit Testing; Your Testing has Just Begun
Stopping testing your code when your unit tests all pass is like starting mass production of automobiles after testing the nuts and bolts. Integration testing guarantees that the collaboration of classes works. This article investigates some important techniques in integration testing.
-
Intro to .NET Unit & Integration Testing with SpecsFor
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.
-
Kevlin Henney on Worse is Better and Programming with GUTS
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). He spoke to InfoQ about the thinking behind his talks and how they can be implemented.
-
Book Review: Integration Testing from the Trenches
In this important and thorough treatise “Integration Testing from the Trenches” Nicolas Frankel starts from basic definitions and develops the concepts of integration testing with a casual formalism that's intuitive and fun.
-
Custom Assertions in Java Tests
Using so-called "matcher libraries" to implement custom assertions to make tests more readable and maintainable.
-
Quality Code - Book Review and Interview
Quality Code book, authored by Stephen Vance, covers the different aspects of software development lifecycle with focus on delivering quality product. In the book, Stephen discusses the practices for supporting software craftsmanship testing. InfoQ spoke with the author about the book and the best practices for testing application code.
-
Refactoring Legacy Applications: A Case Study
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.
-
Unit Testing Hadoop MapReduce Jobs With MRUnit, Mockito, & PowerMock
Hadoop MapReduce jobs have a unique code architecture that raises interesting issues for test-driven development. In this article Michael Spicuzza provides a real-world example using MRUnit, Mockito, and PowerMock to solve these problems.
-
Why Testing Matters in Agile Projects
Agile is changing the way we work together and the work that is done. Many think that the role of testing is dead, but I think it is growing and turning into an even better, rounder, more effective testing. The role of Testing will powerfully help redefine the way things are done and the order in which they are done for best results in agile.
-
The Day the QA Department Died
The role of QA is changing. In the waterfall world, QA teams, siloed away from developers, are slow and costly. Unit testing passes the responsibility for software quality to the developers and leads to better code, reducing reliance on a separate QA department. Is unit testing a better way to ensure software quality – the ultimate goal of QA?