Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] maven + integration tests

The "Introduction to the Standard Directory Layout" [1] mentioned a folder 'src/it' with the hint 'Integration Tests (primarily for plugins)'

Does this means that this is reserved somewhat for maven-plugins? Or is it common to place actual integration tests there?

Is there any recommended way for distinguish plain tests from integration tests? The Maven model seems to only support "sources" and "testsources"

Maybe something like src/it/java maybe?

Rationale is that I like to execute tycho-surefire for itests and maven-surefire for plain test.

Interestingly maven has integration-test phases but no concept of 'integration-test' source/output directories in the Build-model so anyone knows of a standard we can adapt here?

I think it doesn't harm to compile all files in one step, but at least we need to distinguish at the run level...


[1] https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html


Back to the top