From 1bb359dcc6867c7001f3a10f0d7e7dd0cda27d38 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 15 Aug 2023 15:23:47 -0700 Subject: [PATCH] Minor cleanup --- src/main/java/rife/bld/extension/TestNgOperation.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/rife/bld/extension/TestNgOperation.java b/src/main/java/rife/bld/extension/TestNgOperation.java index c9adf1b..981cee7 100644 --- a/src/main/java/rife/bld/extension/TestNgOperation.java +++ b/src/main/java/rife/bld/extension/TestNgOperation.java @@ -206,7 +206,7 @@ public class TestNgOperation extends AbstractProcessOperation { } /** - * Specified the JUnit mode. Default is {@code false}. + * Enables or disables the JUnit mode. Default is {@code false}. */ public TestNgOperation jUnit(Boolean isJunit) { options.put("-junit", String.valueOf(isJunit)); @@ -269,6 +269,8 @@ public class TestNgOperation extends AbstractProcessOperation { /** * The list of packages to include in this test. For example: {@code "com.example", "test.sample.*"} * If the package name ends with .* then subpackages are included too. + * Required if no {@link #suites(String...)} + * specified. */ public TestNgOperation packages(String... name) { packages.addAll(Arrays.stream(name).toList()); @@ -339,6 +341,7 @@ public class TestNgOperation extends AbstractProcessOperation { /** * Specifies the size of the thread pool to use to run suites. + * Required if no {@link #packages(String...)} specified. */ public TestNgOperation suiteThreadPoolSize(int poolSize) { options.put("-suitethreadpoolsize", String.valueOf(poolSize));