Skip to content

Commit 581d0c6

Browse files
basilevsHeikoKlare
authored andcommitted
Fix AGENTS.md: use 'mvn verify -pl :org.eclipse.swt.tests' for running
specific tests Prevent the procedure from failing on MacOS and Linux which have no platform specific tests, requiring `surefire.failIfNoSpecifiedTests=false`.
1 parent 24b4c49 commit 581d0c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ If needed, add packages to `Import-Package` or `Require-Bundle`.
9999
# Run all tests
100100
mvn clean verify
101101

102-
# Run specific test class
103-
mvn test -Dtest=ClassName
102+
# Run specific test class (append `#testMethodName` for a single test)
103+
mvn verify -pl :THE_BUNDLE_WITH_THE_ACTUAL_TEST -am -DskipNativeTests=false -Dsurefire.failIfNoSpecifiedTests=false -Dtest=ClassName
104104
```
105105

106106
### Test Location

0 commit comments

Comments
 (0)