From 324debd0d97bb6a2f77975144cd10042cb7498e8 Mon Sep 17 00:00:00 2001 From: Guillaume Outters Date: Tue, 21 Apr 2026 11:56:45 +0200 Subject: [PATCH] Running individual lua tests (#5972) --- docs/developers/writing_tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/writing_tests.md b/docs/developers/writing_tests.md index 024144c7d..970c0ae20 100644 --- a/docs/developers/writing_tests.md +++ b/docs/developers/writing_tests.md @@ -65,7 +65,7 @@ Running unit tests requires building a special `rspamd-test` target. If you use To run unit tests, simply execute `test/rspamd-test -p /rspamd/lua`. -However, it's important to note that it's currently not possible to execute specific unit tests individually. +Specific unit tests can be run individually by passing their name or matching glob as the `TESTS` environment variable, e.g. `TESTS="reg*.lua" test/rspamd-test -p /rspamd/lua` to target regexp tests. ## Functional tests