From 443d1ad688e80075c959c040d6f6b4e9e4dab134 Mon Sep 17 00:00:00 2001 From: Matt Enlow Date: Tue, 13 May 2025 12:06:23 +0300 Subject: [PATCH] exunit.case docs: parameterize violates the "never run concurrently" async docs --- lib/ex_unit/lib/ex_unit/case.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ex_unit/lib/ex_unit/case.ex b/lib/ex_unit/lib/ex_unit/case.ex index 227f0ab3ecb..38b59cf2e5c 100644 --- a/lib/ex_unit/lib/ex_unit/case.ex +++ b/lib/ex_unit/lib/ex_unit/case.ex @@ -12,7 +12,8 @@ defmodule ExUnit.Case do When used, it accepts the following options: * `:async` - configures tests in this module to run concurrently with - tests in other modules. Tests in the same module never run concurrently. + tests in other modules. Tests in the same module never run concurrently + (with the exception of tests run via the `:parameterize` option - see below). It should be enabled only if tests do not change any global state. Defaults to `false`.