Skip to content

Commit d5e1838

Browse files
authored
Merge pull request #307 from eclipse-rcptt/copilot/document-test-failure-reproduction
Allow overriding tests, suites and skipTags via -D command-line properties
2 parents 681627d + 222ffcc commit d5e1838

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

maven-plugin/rcptt-maven-plugin/src/main/java/org/eclipse/rcptt/maven/AbstractRCPTTMojo.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,26 @@ protected List<TestEngine> getTestEngines() {
148148
protected String[] projects;
149149

150150
/**
151-
* @parameter
151+
* Comma-separated list of tags to skip during test execution.
152+
* Can be set from the command line with {@code -Drcptt.skipTags=tag1,tag2}.
153+
*
154+
* @parameter property="rcptt.skipTags"
152155
*/
153156
protected String[] skipTags;
154157

155158
/**
156-
* @parameter
159+
* Comma-separated list of test suite names to execute.
160+
* Can be set from the command line with {@code -Drcptt.suites=suite1,suite2}.
161+
*
162+
* @parameter property="rcptt.suites"
157163
*/
158164
protected String[] suites;
159165

160166
/**
161-
* @parameter
167+
* Comma-separated list of test file names to execute.
168+
* Can be set from the command line with {@code -Drcptt.tests=test1.test,test2.test}.
169+
*
170+
* @parameter property="rcptt.tests"
162171
*/
163172
protected String[] tests;
164173

0 commit comments

Comments
 (0)