/saltstack-windows-test-kitchen-examples

Here are a few examples of testing saltstack with Chef Test Kitchen locally, with travis and with appveyor

Primary LanguageRubyApache License 2.0Apache-2.0

saltstack-windows-test-kitchen-examples

Appveyor CI Build Status Documentation Status

This is an example of how to test a saltstack windows formula using test kitchen and kitchen-salt.

Local testing can be done from a Windows 10 workstation using a powershell console or WSL with virtualbox or hyper-v.

$kitchen list
Instance                      Driver   Provisioner  Verifier  Transport  Last Action    Last Error
py3-windows-10-1903           Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>
py3-windows-10-1809           Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>
py3-windows-10-1803           Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>
py3-windows-10-1709           Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>
py3-windows-server-2019-1809  Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>
py3-windows-server-2016       Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>
py3-windows-server-2012r2     Vagrant  SaltSolo     Inspec    Winrm      <Not Created>  <None>

Online CI testing can be done using test kitchen with AppVeyor.