From c050ffb8c4132a90f30d47d96b12d70c6f70e3c8 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Tue, 7 Jul 2026 11:22:33 +0800 Subject: [PATCH] New translations running-tests.mdx (Polish) [ci skip] --- .../pl-PL/docs/testing/running-tests.mdx.mdx | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 docs-crowdin-export/pl-PL/docs/testing/running-tests.mdx.mdx diff --git a/docs-crowdin-export/pl-PL/docs/testing/running-tests.mdx.mdx b/docs-crowdin-export/pl-PL/docs/testing/running-tests.mdx.mdx new file mode 100644 index 0000000..934b0ed --- /dev/null +++ b/docs-crowdin-export/pl-PL/docs/testing/running-tests.mdx.mdx @@ -0,0 +1,45 @@ +--- +sidebar_label: Running tests +--- + +# Running Tests + +## Execution + +```bash +dcr test +``` + +Builds the project, then compiles and runs test files from `tests/`. + +## Profiles + +```bash +dcr test # debug (default) +dcr test --release # release +dcr test --debug # explicit debug +``` + +## Output + +``` +===================== + Testsuite summary +===================== +TOTAL: 5 +PASS: 3 +SKIP: 1 +FAIL: 1 +===================== +``` + +## Exit code + +* 0 — all tests passed (FAIL = 0) +* 1 — test failures or build error + +## What gets built + +* All `.c` files from `tests/` (`.cpp` not supported) +* Include path: `tests/` (for `dcr_test.h`) +* Linked with project if `package.type = "lib"` or `kind = "staticlib"`/`"sharedlib"`