Skip to content

Commit 014f2e9

Browse files
authored
Merge pull request #401 from TypedDevs/codex/fix-alpine-errors-in-parallel-tests
Fix docs for parallel tests
2 parents 02794c4 + 5b42b02 commit 014f2e9

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/command-line.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ Creates a report XML file that follows the JUnit XML format and contains informa
129129
130130
bashunit provides an option to run each test in a separate child process, allowing you to parallelize the test execution and potentially speed up the testing process. When running in parallel mode, the execution order of tests is randomized.
131131

132+
::: warning
133+
Parallel mode is currently only supported on **macOS** and **Ubuntu**. On other
134+
systems (like Alpine Linux or Windows) the option is automatically disabled due
135+
to inconsistent results. In those environments consider using `--no-parallel`.
136+
:::
137+
132138
::: code-group
133139
```bash [Example]
134140
./bashunit ./tests --parallel

docs/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ BASHUNIT_SIMPLE_OUTPUT=false
6868
6969
Runs the tests in child processes with randomized execution, which may improve overall testing speed, especially for larger test suites.
7070

71+
::: warning
72+
Parallel execution is supported only on **macOS** and **Ubuntu**. On other
73+
systems bashunit forces sequential execution to avoid inconsistent results.
74+
:::
75+
7176
Similar as using `-p|--parallel` option on the [command line](/command-line#parallel).
7277

7378

0 commit comments

Comments
 (0)