From a0c6af4db6b68e34eb8424f89ef487179d86e334 Mon Sep 17 00:00:00 2001 From: Lukas Forer Date: Fri, 1 Sep 2023 13:16:15 +0200 Subject: [PATCH] Update docs --- docs/docs/assertions/snapshots.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/assertions/snapshots.md b/docs/docs/assertions/snapshots.md index e794f22d..169a8e14 100644 --- a/docs/docs/assertions/snapshots.md +++ b/docs/docs/assertions/snapshots.md @@ -51,6 +51,8 @@ It ensures that your snapshot file only contains the snapshots required for your nf-test test tests/main.nf.test --clean-snapshot ``` +>:bulb: Obsolete snapshots can only be detected when running all tests in a test file simultaneously, and when all tests pass. If you run a single test or if tests are skipped, nf-test cannot detect obsolete snapshots. + ## More Examples It is also possible to include multiple objects into one snapshot: