Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kapua-dev] Issues with unit test/integration test split

I agree that tests have to be run.

Maybe we could discuss aproach on Thursday.

 

All tests should be run by Travis on PR.

Local build (mvn clean install or mvn test) should skip integration tests.

Hudson CI should skip integration tests on each commit, but should run all the tests on nightly build.

 

Uroš

 

 

 

Hi,

I do have some issues with the recent split of unit tests and intgration tests.

From what I have seen the way to go is to specify "-Dtest=integration" for running the integration tests.

However, seeing a drop in code coverage, this seems to disable the unit tests. And looking at the maven profiles, it seems as if there is currently no way to run unit tests and integration tests in the same build.

I would strongly suggest to revert this behavior and fall back to the maven standard way of using "test" and "integration-test", maybe using the "failsafe" plugin and allow to run both test types when desired in a single build.

Cheers

Jens


--

Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill


Back to the top