ApacheCon Europe 2012

Rhein-Neckar-Arena, Sinsheim, Germany

5–8 November 2012

Unit- and Integration Testing with Maven

Karl-Heinz Marbaise

Audience level:
Intermediate
Track:
Apache Daily

Thursday 11 a.m.–11:45 a.m. in Level 1 Left

Description

How to do unit- and integration testing in Maven.

Abstract

The usual use case in projects is that unit tests have been written and now: How to run them? No problem use Maven, but what are the prerequisites to run the test etc. What about integration tests? Do I need a separate module or can i run unit-/integrations tests within the same module? Sometimes you will run into the situation writing a Maven plugin but how to test such a plugin?

The lecture will show the "Best-Practices" about unit and integrations testing within Maven. Furhtermore it will show to reuse unit and or integration tests.