incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Friedrich (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-17) Split unit tests from integration tests
Date Thu, 12 Jul 2012 19:07:35 GMT


Matthias Friedrich commented on CRUNCH-17:

After some research it seems there's still no perfect solution with Maven/JUnit/Eclipse. Just
renaming the slow tests from *Test to *IT and using the Maven Failsafe Plugin to execute them
during the integration-test phase isn't enough. You'd still need a way to keep them apart
in the IDE without having to build test suites manually. I'm leaning towards the solution
we use at work: Move the integration tests out of the way into a separate Maven module, rename
them and run them via the Failsafe Plugin.

> Split unit tests from integration tests
> ---------------------------------------
>                 Key: CRUNCH-17
>                 URL:
>             Project: Crunch
>          Issue Type: Task
>          Components: Core
>            Reporter: Matthias Friedrich
>            Assignee: Matthias Friedrich
>              Labels: maven
> Currently, the test suite is a mix of fast unit tests and slow integration tests which
prevents developers from executing tests early and often. It should be possible to run unit
tests separately via Eclipse (or some other IDE) and Maven. Integration tests should run in
Maven's integration-test phase.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message