Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Won't Do
-
None
Description
In this discussion thread, various maven commands for running / not running selected tests were mentioned:
We should document these commands under https://beam.apache.org/contribute/testing/
Borisa raised the following questions:
how do I execute only one test marked as @NeedsRunner?
How do I execute one specific test in java io?
How to execute one pecific test in any of the runners?
How to use beamTestpipelineoptions with few json examples?
Will mvn clean verify execute ALL tests against all runners?
For the #1 above, we can create profile which is used run tests in NeedsRunner category.
See the following:
http://stackoverflow.com/questions/3100924/how-to-run-junit-tests-by-category-in-maven