mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Initial ansible-test sanity docs. (#26775)
* Rename no-iterkeys test for consistency. * Require docs for all ansible-test sanity tests. * Initial ansible-test sanity docs. * Fix capitalization of Python. * Fix sanity code smell test false positives. * Fix another code-smell false positive.
This commit is contained in:
12
docs/bin/testing_formatter.sh
Executable file
12
docs/bin/testing_formatter.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
cat <<- EOF > ../docsite/rst/dev_guide/testing/sanity/index.rst
|
||||
Sanity Tests
|
||||
============
|
||||
|
||||
The following sanity tests are available as \`\`--test\`\` options for \`\`ansible-test sanity\`\`:
|
||||
|
||||
$(for test in $(../../test/runner/ansible-test sanity --list-tests); do echo "- :doc:\`${test} <${test}>\`"; done)
|
||||
|
||||
This list is also available using \`\`ansible-test sanity --list-tests\`\`.
|
||||
EOF
|
||||
Reference in New Issue
Block a user