Skip to content

Commit a0d6aa3

Browse files
committed
Join molecule tests into a single folder
1 parent db72f67 commit a0d6aa3

19 files changed

+12
-10
lines changed

README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,20 @@ Packages needed to install
6161
6262
Run the commands to install
6363
64-
```
64+
```shell
6565
pip install molecule
6666
pip install molecule-docker
6767
pip install molecule-goss
68+
pip install jmespath
6869
```
6970

70-
To run the test run the command below in 3 scenario
71+
To run the test run the command below in specific or default scenario
7172

72-
* molecule_test_default
73-
* molecule_test_disable_autoupdate
74-
* molecule_test_disable_autoupdate
73+
* test_check_open_ports
74+
* test_disable_autoupdate
75+
* test_with_version
7576

77+
```shell
78+
molecule test # run default scenario
79+
molecule test -s specific_scenario # run specific scenario
7680
```
77-
molecule test
78-
```

molecule_test_default/molecule/default/verify.yml molecule/default/verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
tasks:
1212
- name: Include roles' meta data
1313
include_vars:
14-
file: "../../../meta/main.yml"
14+
file: "../../meta/main.yml"
1515
- name: Test the distribution is supported. End the host if not.
1616
set_fact:
1717
supported_distributions: "{{ galaxy_info.platforms|json_query('[].name') }}"

molecule_test_disable_autoupdate/molecule/default/verify.yml molecule/test_disable_autoupdate/verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
tasks:
1212
- name: Include roles' meta data
1313
include_vars:
14-
file: "../../../meta/main.yml"
14+
file: "../../meta/main.yml"
1515
- name: Test the distribution is supported. End the host if not.
1616
set_fact:
1717
supported_distributions: "{{ galaxy_info.platforms|json_query('[].name') }}"

molecule_test_with_version/molecule/default/verify.yml molecule/test_with_version/verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
tasks:
1212
- name: Include roles' meta data
1313
include_vars:
14-
file: "../../../meta/main.yml"
14+
file: "../../meta/main.yml"
1515
- name: Test the distribution is supported. End the host if not.
1616
set_fact:
1717
supported_distributions: "{{ galaxy_info.platforms|json_query('[].name') }}"

0 commit comments

Comments
 (0)