Simple Test Cookbook to validate test-kitchen functionality on WindowsGuest [WinRM/PoSH]
Available drivers to test:
- kitchen-vagrant
- kitchen-ec2
test-kitchen v1.3.0
- tk-windows needs WinRM comunication to spinup Windows VM's. [https://github.com/afiune/test-kitchen.git]kitchen-vagrant v0.16.0
- tk-windows needs VagrantWindows implementation. [https://github.com/afiune/kitchen-vagrant.git]kitchen-ec2 v0.9.0
- tk-windows needs Ec2Windows implementation. [https://github.com/afiune/kitchen-ec2.git]
[COOKBOOK]
|
+-- test
|
+-- integration
|
+-- [SUIT_NAME]
|
+-- [BUSSER_PLUGIN]
COOKBOOK
|
+-- recipes
+-- ...
+-- test
|
+-- integration
|
+-- nix
|
+-- bats
+-- win
|
+-- serverspec
+-- pester
The vagrant driver is the default test. There is no need to modify anything. Just Run & Enjoy It!
In order to test the EC2 driver you have to use the file .kitchen.yml.ec2
instead of the .kitchen.yml
file that will is the default. [kitchen-vagrant]
- bundle install
- bundle exec kitchen test
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Salim Afiune [email protected]