Presentation is loading. Please wait.

Presentation is loading. Please wait.

make servers happy with automated testing

Similar presentations


Presentation on theme: "make servers happy with automated testing"— Presentation transcript:

1 make servers happy with automated testing

2 whoami matthew walter linux systems administrator @ohai_walt

3 tools salt – saltstack.com
configuration management and remote execution test-kitchen – kitchen.ci test harness tool to execute your configured code on one or more platforms in isolation serverspec – serverspec.org integration testing framework built on rspec vagrant – vagrantup.com wrapper for virtual machine configuration

4 why? ensure what we have is what we expect configuration management
variables config files simplifies life with multiple contributors simplifies working w/ multiple operating systems think more deeply about our environment enables use in continuous integration provides certainty

5 manual build and provision
install operating system from .iso use package manager to install required programs from checklist change required configuration files

6 write automation code, manually test
configuration management make changes provision box verify changes how long does testing take?

7 automated testing think about what we're testing serverspec testing
test-kitchen continuously testing infrastructure kitchen-ec2

8 test driven development
write test harness for feature requirements (red) write minimal code to make test pass (green) rewrite code for maintainability (refactor)

9

10

11

12

13

14

15 questions?


Download ppt "make servers happy with automated testing"

Similar presentations


Ads by Google