citrusframework / citrusframework/citrus-samples

Remove unnecessary surefire excludes

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Prio: Low READY Type: Maintenance
Dominant language
Java
Stars
71
Forks
121
PR merge metrics
No merged PRs in 30d

Description

The [maven-surefire documentation](http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html) states:
```quote
By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns:

* "**/Test*.java" - includes all of its subdirectories and all Java filenames that start with "Test".
* "**/*Test.java" - includes all of its subdirectories and all Java filenames that end with "Test".
* "**/*Tests.java" - includes all of its subdirectories and all Java filenames that end with "Tests".
* "**/*TestCase.java" - includes all of its subdirectories and all Java filenames that end with "TestCase".
```

Therefore it's not required to exclude `(^IT.*|.*IT)\.java` tests in the configuration.
```xml

maven-surefire-plugin
2.

once
false





${project.build.directory}

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.