You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Currently, the following only works in combination with [Blackbox Test Suites configured by the _org.gradlex.java-module-testing_ plugin](https://github.com/gradlex-org/java-module-testing?tab=readme-ov-file#blackbox-test-suites).
140
+
141
+
Tests run against the _primary_ target, which is either the local machine you run the build on, or what is configured via `javaModulePackaging.primaryTarget(...)`.
142
+
If you want to run the test multiple times against each target you configured, you can configure this as follows:
143
+
144
+
```
145
+
javaModulePackaging {
146
+
multiTargetTestSuite(testing.suites["test"])
147
+
}
148
+
```
149
+
150
+
Then, there will be a test task available for each target, such as `testWindows-2022` or `testMacos-14`.
151
+
120
152
## Running on GitHub Actions
121
153
122
154
Target-specific _tasks_ such as `assembleWindows-2022` or `assembleMacos-14` only run on the fitting operating system and architecture.
0 commit comments