Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to filter packages and groups in tests more easily #7550

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

aahmed-se
Copy link
Contributor

Allow to filter test runs with both inclusion and exclusion rules. For test files and test groups.

@aahmed-se aahmed-se requested review from merlimat and srkukarni July 16, 2020 02:05
@aahmed-se aahmed-se self-assigned this Jul 16, 2020
@merlimat merlimat added this to the 2.7.0 milestone Jul 16, 2020
@aahmed-se aahmed-se merged commit 224f2f5 into apache:master Jul 16, 2020

```bash
$ cd module-name (e.g: pulsar-broker)
$ mvn test -pl module-name -Dinclude=org/apache/pulsar/**/*.java

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aahmed-se - In the docs, since there is a cd into 'module-name' do we still need the -pl option?
If we are using the -pl option, using the -am (--also-make) would be advisable

merlimat pushed a commit to merlimat/pulsar that referenced this pull request Jul 21, 2020
@aahmed-se aahmed-se deleted the test_filter branch July 24, 2020 18:39
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants