Older rss
  • How Java Developers Can Use the Wiremock Framework to Simulate HTTP-Based APIs

    by Wojciech Bulaty on  Nov 08, 2016 2

    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 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

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

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

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 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