You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/16 02:05:55 UTC

[GitHub] [pulsar] aahmed-se opened a new pull request #7550: Allow to filter packages and groups in tests more easily

aahmed-se opened a new pull request #7550:
URL: https://github.com/apache/pulsar/pull/7550


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] aahmed-se merged pull request #7550: Allow to filter packages and groups in tests more easily

Posted by GitBox <gi...@apache.org>.
aahmed-se merged pull request #7550:
URL: https://github.com/apache/pulsar/pull/7550


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] vcottagiri commented on a change in pull request #7550: Allow to filter packages and groups in tests more easily

Posted by GitBox <gi...@apache.org>.
vcottagiri commented on a change in pull request #7550:
URL: https://github.com/apache/pulsar/pull/7550#discussion_r455952809



##########
File path: README.md
##########
@@ -113,6 +113,13 @@ $ cd module-name (e.g: pulsar-client)
 $ mvn test -Dtest=unit-test-name (e.g: ConsumerBuilderImplTest)
 ```
 
+Run Selected Test packages:
+
+```bash
+$ cd module-name (e.g: pulsar-broker)
+$ mvn test -pl module-name -Dinclude=org/apache/pulsar/**/*.java

Review comment:
       @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](https://books.sonatype.com/mvnref-book/reference/_using_advanced_reactor_options.html#_specifying_a_subset_of_projects)) would be advisable




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org