incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-17) Split unit tests from integration tests
Date Fri, 13 Jul 2012 05:56:33 GMT

    [ https://issues.apache.org/jira/browse/CRUNCH-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413516#comment-13413516
] 

Rahul Sharma commented on CRUNCH-17:
------------------------------------

Alternatively you can add a test sources folder for Integration tests eg. src/integration-test/java,
kind of location using the build-helper-plugin. Then in eclipse you can only build the src/test/java
folder, that way you would be able to run all unit tests.

You will be required to have a convention for tests in this location such as ending in *IT*
else maven will execute them in test phase. After that we can configure failsafe plugin to
execute them in integration-phase.
                
> Split unit tests from integration tests
> ---------------------------------------
>
>                 Key: CRUNCH-17
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-17
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message