From 3e9517acdd86b4b760d8564721b4a6e72dfcd8dd Mon Sep 17 00:00:00 2001 From: azinneera Date: Mon, 15 Apr 2024 23:28:29 +0530 Subject: [PATCH] Improve test parallelization help text --- .../resources/cli-help/ballerina-test.help | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/cli/ballerina-cli/src/main/resources/cli-help/ballerina-test.help b/cli/ballerina-cli/src/main/resources/cli-help/ballerina-test.help index 67c6077a159c..aeef7ff98710 100755 --- a/cli/ballerina-cli/src/main/resources/cli-help/ballerina-test.help +++ b/cli/ballerina-cli/src/main/resources/cli-help/ballerina-test.help @@ -91,15 +91,16 @@ OPTIONS Additional build options to be passed to the GraalVM native image. --parallel - Enable parallel execution of tests. A test should satisfy the following conditions to be - executed in parallel: - - Test function should be isolated. - - If it is a data provider test, - - The data provider of a test function should be isolated. - - Test function parameters should be read-only type. - - Respective set-up, and tear-down functions (before, after, before-each, after-each, before-groups, - after-groups) of the test function should be isolated. - Parallel test execution is an experimental feature which supports only a limited set of functionality. + Enable parallel execution of tests. A test must satisfy the following + conditions to be executed in parallel: + - Test function must be isolated. + - If a data provider is attached to a test function, + - The data provider function must be isolated. + - The types of the test function parameters must be subtypes of readonly. + - Respective set-up, and tear-down functions (before, after, before-each, + after-each, before-groups, after-groups) of the test function must be isolated. + Parallel test execution is an experimental feature and therefore supports + only a limited set of functionalities. ARGUMENTS