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
Pattern matching syntax is used to automatically detect and register extensions. Here are some examples of pattern matching syntax:
296
+
297
+
- `*`: includes all extensions.
298
+
- `org.junit.*`: includes every extension under the `org.junit` base package and any of its subpackages.
299
+
- `*.MyExtension`: includes every extension whose simple class name is exactly `MyExtension`.
300
+
- `*System*`: includes every extension whose FQCN contains `System`.
301
+
- `*System*, *Dev*`: includes every extension whose FQCN contains `System` or `Dev`.
302
+
- `org.example.MyExtension, org.example.TheirExtension`: includes extensions whose FQCN is exactly `org.example.MyExtension` or `org.example.TheirExtension`.
303
+
304
+
> **Note**: A class that matches both an inclusion and exclusion pattern will be excluded.
305
+
292
306
[[extensions-registration-automatic-enabling]]
293
307
===== Enabling Automatic Extension Detection
294
308
@@ -368,7 +382,7 @@ following system property.
368
382
[[extensions-conditions-deactivation-patterns]]
369
383
===== Pattern Matching Syntax
370
384
371
-
Refer to <<running-tests-config-params-deactivation-pattern>> for details.
385
+
Pattern matching syntax is used to automatically detect and register extensions. For more details, refer to the <<automatic-extension-registration-pattern-matching,Pattern Matching Syntax>> section.
0 commit comments