I've also used the separate module for integration tests before.

I've also used junit categories and testng groups before.

Some places I've worked prefer seperate modules over categories/groups.

Usually I put selenium or cucumber tests in separate modules and also have
groups groups as well.

John


On 24 June 2016 at 17:02, Karl Heinz Marbaise <[email protected]> wrote:

> Hi,
>
> On 6/24/16 10:58 AM, zuxiong lin wrote:
>
>> Hi. maven devs.
>> According to
>>
>> http://maven.apache.org/surefire/maven-failsafe-plugin/examples/inclusion-exclusion.html
>> , the Failsafe Plugin will automatically identify the wildcard patterns :
>> "**/IT*.java" .. "**/*IT.java"
>>
>>
>> But how do I separate UTs and ITs directory with
>>
>> https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
>> ?
>>
>> +Project
>>
>> +src/it/java
>>
>
> If you take a look into the default layout there is stated:
>
> Integration Tests (primarily for plugins)
>
>
> If you need integration tests it's best having a complete different module
> which contains the IT's...
> See also
> http://stackoverflow.com/questions/37998040/where-should-the-integration-tests-be-stored-when-using-the-maven-failsafe-plugi
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to