Skip to content

Commit

Permalink
Improve test parallelization help text
Browse files Browse the repository at this point in the history
  • Loading branch information
azinneera committed Apr 15, 2024
1 parent 9eed151 commit 3e9517a
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions cli/ballerina-cli/src/main/resources/cli-help/ballerina-test.help
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e9517a

Please sign in to comment.