File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,3 +103,33 @@ dependency on ``template.service.clean`` via include list.
103103This state will remove the template package and has a depency on
104104``template.config.clean `` via include list.
105105
106+ Testing
107+ -------
108+
109+ Linux testing is done with ``kitchen-salt ``.
110+
111+ ``kitchen converge ``
112+ ^^^^^^^^^^^^^^^^^^^^
113+
114+ Creates the docker instance and runs the ``template `` main state, ready for testing.
115+
116+ ``kitchen verify ``
117+ ^^^^^^^^^^^^^^^^^^
118+
119+ Runs the ``inspec `` tests on the actual instance.
120+
121+ ``kitchen destroy ``
122+ ^^^^^^^^^^^^^^^^^^^
123+
124+ Removes the docker instance.
125+
126+ ``kitchen test ``
127+ ^^^^^^^^^^^^^^^^
128+
129+ Runs all of the stages above in one go: i.e. ``destroy `` + ``converge `` + ``verify `` + ``destroy ``.
130+
131+ ``kitchen login ``
132+ ^^^^^^^^^^^^^^^^^
133+
134+ Gives you SSH access to the instance for manual testing.
135+
You can’t perform that action at this time.
0 commit comments