Brussels / 30 & 31 January 2016

schedule

Junit-contracts

A Contract Testing Tool


Contract testing provides a means for developers to provide tests to implementers of Java SPI and API frameworks to ensure that the expected functionality is correctly implemented. It is an open source junit extension that tests implementations of java interfaces. This talk will cover why and how to execute tests.

Contract testing provides a means for developers to provide tests to implementers of SPI and API frameworks to ensure that the expected functionality is implemented. Junit-contracts is a Junit runner and associated annotations that allows developers to develop test for correct implementation of an interface that are then reused by any implementation of the interface. The junit-contract tests suite does this automatically discovers the tests to be run and executes them. This presentation is an overview of the design principles behind the junit-contracts tool, how to develop tests that it can run, and how they can make development easier for project developers, QA teams and the system integrator while reducing support requests and problem tickets.

This presentation is intended for development teams that provide an SPI or user extensible API and who wish to provide tests that ensure the correct implementation of interfaces. This talk should also be of interest to QA testers that need to validate that a number of implementations of a single interface are correct and for systems integrators to wish to ensure that implementations of SPI/APIs in glue code function correctly.

Speakers

Photo of Claude Warren Claude Warren

Attachments

Links