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 17:29:23 UTC

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

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