diff --git a/README.md b/README.md index 14156d64..892c4f42 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,7 @@ Adds linting tests to `rules_jvm_external`'s `java_export` ## java_junit5_test
-java_junit5_test(name, test_class, runtime_deps, kwargs) +java_junit5_test(name, test_class, runtime_deps, package_prefixes, kwargs)Run junit5 tests using Bazel. @@ -313,6 +313,7 @@ its goals, but this is not complete or available yet. | name | The name of the test. | none | | test_class | The Java class to be loaded by the test runner. If not specified, the class name will be inferred from a combination of the current bazel package and the
name
attribute. | None
|
| runtime_deps | -
|[]
|
+| package_prefixes | Package prefixes to look for when infering class names for tests, prefixed and postfixed with `.`. Example: `[".com.", ".no."]` | []
|
| kwargs | -
| none | @@ -360,7 +361,7 @@ Adds linting tests to Bazel's own `java_test`java_test_suite(name, srcs, runner, test_suffixes, package, deps, runtime_deps, tags, visibility, - size, kwargs) + size, package_prefixes, kwargs)Create a suite of java tests from `*Test.java` files.