Skip to content

Commit 4cfde8d

Browse files
committed
docs(readme): update Testing section for inspec
1 parent 7b7aadc commit 4cfde8d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.rst

+10-6
Original file line numberDiff line numberDiff line change
@@ -120,28 +120,32 @@ Remove development and python packages.
120120

121121
Testing
122122
=======
123-
The ``postgres`` state was tested on MacOS (El Capitan 10.11.6), and ``remove`` states on Ubuntu, Centos, and Fedora.
124123

125-
Linux testing is done with the ``kitchen-salt``.
124+
Linux testing is done with ``kitchen-salt``.
126125

127126
``kitchen converge``
128127
--------------------
129128

130-
Runs the ``postgres`` main state.
129+
Creates the docker instance and runs the ``postgres`` main state, ready for testing.
131130

132131
``kitchen verify``
133132
------------------
134133

135-
Runs ``serverspec`` tests on the actual instance.
134+
Runs the ``inspec`` tests on the actual instance.
135+
136+
``kitchen destroy``
137+
----------------
138+
139+
Removes the docker instance.
136140

137141
``kitchen test``
138142
----------------
139143

140-
Builds and runs tests from scratch.
144+
Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``verify`` + ``destroy``.
141145

142146
``kitchen login``
143147
-----------------
144148

145-
Gives you ssh to the vagrant machine for manual testing.
149+
Gives you SSH access to the instance for manual testing.
146150

147151
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et

0 commit comments

Comments
 (0)