• JUnit 5 - An Early Test Drive - Part 2

    by Nicolai Parlog on  Aug 15, 2016 6

    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 5 - An Early Test Drive - Part 1

    by Nicolai Parlog on  Jul 19, 2016 4

    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.

  • Beyond Page Objects: Next Generation Test Automation with Serenity and the Screenplay Pattern

    by John Ferguson Smart, Antony Marcano, Andy Palmer, Jan Molak on  Mar 15, 2016 3

    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.

Book Review: Integration Testing from the Trenches

Posted by Victor Grazi on  Jun 27, 2014

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.

Custom Assertions in Java Tests

Posted by Tomek Kaczanowski on  Feb 27, 2014

Using so-called "matcher libraries" to implement custom assertions to make tests more readable and maintainable. 2

Unit Testing Hadoop MapReduce Jobs With MRUnit, Mockito, & PowerMock

Posted by Michael Spicuzza on  Dec 03, 2012

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

Unit and Integration Testing for GWT Applications

Posted by Bertrand Paquet and Gael Lazzari on  Apr 19, 2010

Bertrand Paquet and Gael Lazzari of Octo Technology explore Unit Testing GWT applications and introduce their own open source gwt-test-utils framework. 2

Interview and Book Excerpt: Hani Suleiman & Cedric Beust, "Next Generation Java Testing: TestNG and Advanced Concepts"

Posted by Scott Delap on  Feb 13, 2008 recently interviewed Next Generation Java Testing: TestNG and Advanced Concepts authors Hani Suleiman and Cédric Beust. InfoQ is also pleased to offer a chapter excerpt, "Mocks and Stubs". 4

Iterative, Automated and Continuous Performance

Posted by Kirk Pepperdine on  Nov 16, 2007

Iterative and continuous are terms that are often used in reference to testing of software. This new InfoQ article takes a look at whether the same concepts can be applied to performance tuning. 16

Software Testing With Spring Framework

Posted by Srini & Kavitha Penchikala on  Nov 12, 2007

Srini & Kavitha Penchikala give an overview of the support provided by Spring framework in the areas of unit and integration testing, with a sample application. 16

Book Excerpt: Continuous Integration means Continuous Testing

Posted by Paul Duvall, Steve Matyas, Andrew Glover on  Aug 05, 2007

Continuous Integration has become a standard development best practice - but it's not always done well. InfoQ presents advice and examples in Chapter 6: Continuous Testing from a new CI book. 4

Unit-Testing XML

Posted by Stefan Bodewig on  Jun 11, 2007

Today, almost every modern application consumes or produces XML. Stefan Bodewig explains the challenges in testing XML-based applications, and shows how to use the XMLUnit Java Framework to do so. 8

General Feedback
Marketing and all content copyright © 2006-2016 C4Media Inc. hosted at Contegix, the best ISP we've ever worked with.
Privacy policy

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.