File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,35 @@ There are many ways in which you can participate in the project, for example:
7373- Review the documentation and make pull requests for anything from typos to new content
7474- If you are interested in fixing issues and contributing directly to the code base, please see the [CONTRIBUTING](CONTRIBUTING.md) document.
7575
76+ # # Run tests
77+
78+ Activate env setup of ansible core :
79+
80+ ` ` `
81+ git clone git@github.com:ansible/ansible.git
82+ cd ansible
83+ source hacking/env-setup
84+ ` ` `
85+
86+ Clone the repo :
87+
88+ ` ` `
89+ git clone git@github.com:ngine-io/ansible-collection-cloudstack.git
90+ cd ansible-collection-cloudstack
91+ ` ` `
92+
93+ Run tests in docker with cloudstack simulator :
94+ ` ` `
95+ # All tests (note the trailing slash in ` cloud/cs/`)
96+ ansible-test integration --docker --color --diff -v cloud/cs/
97+
98+ # One test e.g. cs_instance (note no trailing slash in `cloud/cs/cs_instance`)
99+ ansible-test integration --docker --color --diff -v cloud/cs/cs_instance
100+
101+ # Run tests for code you changed
102+ ansible-test integration --docker --color --diff -v --changed cloud/cs/
103+ ```
104+
76105## License
77106
78107GNU General Public License v3.0
You can’t perform that action at this time.
0 commit comments