Browse Source

docs(readme): add `Testing with Vagrant` section

tags/v1.8.1
Imran Iqbal 3 years ago
parent
commit
ef1bc02a86
No account linked to committer's email address
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      docs/README.rst

+ 5
- 5
docs/README.rst View File

Testing with Vagrant Testing with Vagrant
-------------------- --------------------


Windows testing is done with ``kitchen-salt``.
Windows/FreeBSD/OpenBSD testing is done with ``kitchen-salt``.


Requirements Requirements
^^^^^^^^^^^^ ^^^^^^^^^^^^
$ bundle install --with=vagrant $ bundle install --with=vagrant
$ bin/kitchen test [platform] $ bin/kitchen test [platform]


Where ``[platform]`` is the platform name defined in ``kitchen.yml``,
e.g. ``windows``.
Where ``[platform]`` is the platform name defined in ``kitchen.vagrant.yml``,
e.g. ``windows-81-latest-py3``.


Note Note
^^^^ ^^^^
``bin/kitchen converge`` ``bin/kitchen converge``
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^


Creates the Vagrant instance and runs the ``salt.minion`` main state, ready for testing.
Creates the Vagrant instance and runs the ``salt`` main states, ready for testing.


``bin/kitchen verify`` ``bin/kitchen verify``
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
``bin/kitchen login`` ``bin/kitchen login``
^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^


Gives you RDP access to the instance for manual testing.
Gives you RDP/SSH access to the instance for manual testing.

Loading…
Cancel
Save