From f2a809fe19feb84db17f8267e8031c2a22ff4edd Mon Sep 17 00:00:00 2001 From: Adil Khan <31621120+adilKhan72@users.noreply.github.com> Date: Mon, 19 Oct 2026 03:34:56 +0500 Subject: [PATCH] docs: replace the deprecated `--cache-result` options with `--record-test-run-history` --- cli-api-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli-api-reference.md b/cli-api-reference.md index abd92a8..abd7345 100644 --- a/cli-api-reference.md +++ b/cli-api-reference.md @@ -83,8 +83,8 @@ In the preceding chapters of the Pest documentation, we have covered numerous CL - `--fail-on-notice`: Signal failure using shell exit code when a notice was triggered. - `--fail-on-skipped`: Treat skipped tests as failures. - `--fail-on-incomplete`: Signal failure using shell exit code when a test was marked incomplete. -- `--cache-result`: Write test results to cache file. -- `--do-not-cache-result`: Do not write test results to cache file +- `--record-test-run-history`: Record test run history. +- `--do-not-record-test-run-history`: Do not record test run history. - `--order-by `: Run tests in order: default|defects|depends|duration|no-depends|random|reverse|size. - `--random-order-seed `: Use the specified random seed when running tests in random order