Test reorganization and cleanup. (#18270)

- Correct directory name in test/README.md
- Move code-smell tests to test/sanity/code-smell
- Update code-smell.sh to use new script paths
- Add test/integration/target-prefixes.win for ansible-test
- Move module unit tests to match module directory layout
pull/18271/head
Matt Clay 8 years ago committed by GitHub
parent 02859a3e32
commit 71819c0a60

@ -4,8 +4,8 @@ Ansible Test System
Folders
=======
unit
----
units
-----
Unit tests that test small pieces of code not suited for the integration test layer, usually very API based, and should leverage
mock interfaces rather than producing side effects.

@ -16,10 +16,10 @@ if [ "${install_deps}" != "" ]; then
fi
yamllint .
test/code-smell/replace-urlopen.sh .
test/code-smell/use-compat-six.sh lib
test/code-smell/boilerplate.sh
test/code-smell/required-and-default-attributes.sh
test/sanity/code-smell/replace-urlopen.sh .
test/sanity/code-smell/use-compat-six.sh lib
test/sanity/code-smell/boilerplate.sh
test/sanity/code-smell/required-and-default-attributes.sh
shellcheck \
test/integration/targets/*/*.sh \

Loading…
Cancel
Save