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
This commit is contained in:
Matt Clay 2016-10-31 12:53:11 -07:00 committed by GitHub
parent 02859a3e32
commit 71819c0a60
15 changed files with 7 additions and 6 deletions

View file

@ -4,8 +4,8 @@ Ansible Test System
Folders 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 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. mock interfaces rather than producing side effects.

View file

@ -0,0 +1 @@
win

View file

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