From 52bd59c481008688134b03855c3110e84dd382b9 Mon Sep 17 00:00:00 2001 From: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com> Date: Thu, 5 May 2022 10:53:23 +0300 Subject: [PATCH] Docs: `ansible-test sanity` example with a folder ##### SUMMARY The docs mentions explicitly that you can run the tests against certain files which might not relay that it works on folders too! Let's make this clear :) ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr --- docs/docsite/rst/dev_guide/testing_sanity.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docsite/rst/dev_guide/testing_sanity.rst b/docs/docsite/rst/dev_guide/testing_sanity.rst index a97dec3f22d..01b167bc3c5 100644 --- a/docs/docsite/rst/dev_guide/testing_sanity.rst +++ b/docs/docsite/rst/dev_guide/testing_sanity.rst @@ -36,8 +36,11 @@ How to run # Run all sanity tests including disabled ones ansible-test sanity --allow-disabled - # Run all sanity tests against against certain files + # Run all sanity tests against certain file(s) ansible-test sanity lib/ansible/modules/files/template.py + + # Run all sanity tests against certain folder(s) + ansible-test sanity lib/ansible/modules/files/ # Run all tests inside docker (good if you don't have dependencies installed) ansible-test sanity --docker default