mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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:
parent
02859a3e32
commit
71819c0a60
15 changed files with 7 additions and 6 deletions
|
@ -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.
|
||||
|
|
1
test/integration/target-prefixes.win
Normal file
1
test/integration/target-prefixes.win
Normal file
|
@ -0,0 +1 @@
|
|||
win
|
0
test/units/modules/core/cloud/__init__.py
Normal file
0
test/units/modules/core/cloud/__init__.py
Normal file
0
test/units/modules/core/cloud/docker/__init__.py
Normal file
0
test/units/modules/core/cloud/docker/__init__.py
Normal file
0
test/units/modules/core/packaging/__init__.py
Normal file
0
test/units/modules/core/packaging/__init__.py
Normal file
0
test/units/modules/core/packaging/os/__init__.py
Normal file
0
test/units/modules/core/packaging/os/__init__.py
Normal file
|
@ -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…
Reference in a new issue