SlideShare a Scribd company logo
Submit Search
Upload
Chef-NYC June-2014 - Testing cookbooks on Digital Ocean
Report
Share
Sean OMeara
Community Software Engineer at Chef
Follow
•
2 likes
•
1,691 views
1
of
118
Chef-NYC June-2014 - Testing cookbooks on Digital Ocean
•
2 likes
•
1,691 views
Report
Share
Download Now
Download to read offline
Technology
Entertainment & Humor
Testing cookbooks on Digital Ocean with Test Kitchen, Serverspec, and ChefSpec
Read more
Sean OMeara
Community Software Engineer at Chef
Follow
Recommended
Cookbook Reusability @ Chef Community summit 2014 by
Cookbook Reusability @ Chef Community summit 2014
Sean OMeara
1.2K views
•
103 slides
Configuration Management Camp 2015 by
Configuration Management Camp 2015
Sean OMeara
3.1K views
•
93 slides
Put an end to regression with codeception testing by
Put an end to regression with codeception testing
Joe Ferguson
922 views
•
75 slides
Midwest PHP 2017 DevOps For Small team by
Midwest PHP 2017 DevOps For Small team
Joe Ferguson
540 views
•
83 slides
RESTful API Testing using Postman, Newman, and Jenkins by
RESTful API Testing using Postman, Newman, and Jenkins
QASymphony
5.5K views
•
17 slides
Composer at Scale, Release and Dependency Management by
Composer at Scale, Release and Dependency Management
Joe Ferguson
437 views
•
60 slides
More Related Content
What's hot
#AT16VIE: Does Agile mean we have no time for testing? by
#AT16VIE: Does Agile mean we have no time for testing?
Dr. Alexander Schwartz
555 views
•
51 slides
Selenium and Appium Training from Sauce Labs by
Selenium and Appium Training from Sauce Labs
Sauce Labs
5.4K views
•
16 slides
Continuous Testing in the Cloud by
Continuous Testing in the Cloud
Sauce Labs
6.9K views
•
21 slides
Drupal8 Front-end Automated Testing by
Drupal8 Front-end Automated Testing
Ruben Teijeiro
1.3K views
•
67 slides
Simple Unit Testing in Appcelerator Titanium Alloy by
Simple Unit Testing in Appcelerator Titanium Alloy
Aaron Saunders
7.2K views
•
8 slides
Arquillian: Effective tests from the client to the server by
Arquillian: Effective tests from the client to the server
Lukáš Fryč
1.7K views
•
123 slides
What's hot
(20)
#AT16VIE: Does Agile mean we have no time for testing? by Dr. Alexander Schwartz
#AT16VIE: Does Agile mean we have no time for testing?
Dr. Alexander Schwartz
•
555 views
Selenium and Appium Training from Sauce Labs by Sauce Labs
Selenium and Appium Training from Sauce Labs
Sauce Labs
•
5.4K views
Continuous Testing in the Cloud by Sauce Labs
Continuous Testing in the Cloud
Sauce Labs
•
6.9K views
Drupal8 Front-end Automated Testing by Ruben Teijeiro
Drupal8 Front-end Automated Testing
Ruben Teijeiro
•
1.3K views
Simple Unit Testing in Appcelerator Titanium Alloy by Aaron Saunders
Simple Unit Testing in Appcelerator Titanium Alloy
Aaron Saunders
•
7.2K views
Arquillian: Effective tests from the client to the server by Lukáš Fryč
Arquillian: Effective tests from the client to the server
Lukáš Fryč
•
1.7K views
Moving From a Selenium Grid to the Cloud - A Real Life Story by Sauce Labs
Moving From a Selenium Grid to the Cloud - A Real Life Story
Sauce Labs
•
2.6K views
Build testable laravel app by Malang QA Community
Build testable laravel app
Malang QA Community
•
68 views
Selenium and Sauce Labs by hugs
Selenium and Sauce Labs
hugs
•
6K views
ChefConf 2016 - Writing Compossible Community Cookbooks using Chef Custom Res... by Tim Smith
ChefConf 2016 - Writing Compossible Community Cookbooks using Chef Custom Res...
Tim Smith
•
429 views
Selenium and Cucumber Selenium Conf 2011 by dimakovalenko
Selenium and Cucumber Selenium Conf 2011
dimakovalenko
•
2.2K views
Postman Webinar: Postman 101 by Nikita Sharma
Postman Webinar: Postman 101
Nikita Sharma
•
414 views
Ansible top 10 - 2018 by Viresh Doshi
Ansible top 10 - 2018
Viresh Doshi
•
236 views
Continuous Integration for Titanium by Denver Sessink
Continuous Integration for Titanium
Denver Sessink
•
2.8K views
Accelerate Quality with Postman - Basics by Knoldus Inc.
Accelerate Quality with Postman - Basics
Knoldus Inc.
•
3K views
Release Responsibly by Codemotion
Release Responsibly
Codemotion
•
2.5K views
TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps by Andrew McElroy
TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps
Andrew McElroy
•
3.1K views
Continuous integration meetup by Drew Stephens
Continuous integration meetup
Drew Stephens
•
899 views
The Dog Ate My Deployment - PHP Uncoference September 2013 by D
The Dog Ate My Deployment - PHP Uncoference September 2013
D
•
2.3K views
Dennis Benkert - The Dog Ate My Deployment - Symfony Usergroup Berlin March ... by D
Dennis Benkert - The Dog Ate My Deployment - Symfony Usergroup Berlin March ...
D
•
2.7K views
Viewers also liked
center- point energy annual reports 2008 by
center- point energy annual reports 2008
finance41
598 views
•
140 slides
charter communications ar04 by
charter communications ar04
finance34
876 views
•
152 slides
The Airbus Program - National Champions, European Project, Global Player by
The Airbus Program - National Champions, European Project, Global Player
Daniel Stanislaus Martel
2.1K views
•
144 slides
Fbi fingerprint_Sinh trắc Học Dấu Vân tay by
Fbi fingerprint_Sinh trắc Học Dấu Vân tay
Công ty TNHH DV TV Tiềm Năng Việt
899 views
•
242 slides
charter communications Final_Charter_Annual_Report_2007 by
charter communications Final_Charter_Annual_Report_2007
finance34
663 views
•
118 slides
Duke Energy Brand Standards Manual by
Duke Energy Brand Standards Manual
Bill Smith
4.9K views
•
224 slides
Viewers also liked
(11)
center- point energy annual reports 2008 by finance41
center- point energy annual reports 2008
finance41
•
598 views
charter communications ar04 by finance34
charter communications ar04
finance34
•
876 views
The Airbus Program - National Champions, European Project, Global Player by Daniel Stanislaus Martel
The Airbus Program - National Champions, European Project, Global Player
Daniel Stanislaus Martel
•
2.1K views
Fbi fingerprint_Sinh trắc Học Dấu Vân tay by Công ty TNHH DV TV Tiềm Năng Việt
Fbi fingerprint_Sinh trắc Học Dấu Vân tay
Công ty TNHH DV TV Tiềm Năng Việt
•
899 views
charter communications Final_Charter_Annual_Report_2007 by finance34
charter communications Final_Charter_Annual_Report_2007
finance34
•
663 views
Duke Energy Brand Standards Manual by Bill Smith
Duke Energy Brand Standards Manual
Bill Smith
•
4.9K views
Monetize with PayPal X Payments Platform by guest72b121
Monetize with PayPal X Payments Platform
guest72b121
•
15.1K views
Customer preference for volkswagen cars by Swamit Gupta
Customer preference for volkswagen cars
Swamit Gupta
•
21.8K views
Credit risk management @ state bank of india project report mba finance by Babasab Patil
Credit risk management @ state bank of india project report mba finance
Babasab Patil
•
50.8K views
HOTEL CASESTUDY - HYATT REGENCY, PUNE by jagrutib22
HOTEL CASESTUDY - HYATT REGENCY, PUNE
jagrutib22
•
76.2K views
PowerPoint Tutorial Presentation - Tips & Tricks by Niezette -
PowerPoint Tutorial Presentation - Tips & Tricks
Niezette -
•
175.6K views
Similar to Chef-NYC June-2014 - Testing cookbooks on Digital Ocean
What is Test Kitchen by
What is Test Kitchen
Benoit Caron
841 views
•
21 slides
Chef tooling and TDD by
Chef tooling and TDD
Sai Kothapalle
126 views
•
15 slides
Environments - Fundamentals Webinar Series Week 5 by
Environments - Fundamentals Webinar Series Week 5
Chef
12.5K views
•
44 slides
Chef Cookbook Workflow by
Chef Cookbook Workflow
Amazon Web Services
7.5K views
•
77 slides
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co... by
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
11.6K views
•
51 slides
Terraform Testing with InSpec Demo by
Terraform Testing with InSpec Demo
Annie Hedgpeth
200 views
•
22 slides
Similar to Chef-NYC June-2014 - Testing cookbooks on Digital Ocean
(20)
What is Test Kitchen by Benoit Caron
What is Test Kitchen
Benoit Caron
•
841 views
Chef tooling and TDD by Sai Kothapalle
Chef tooling and TDD
Sai Kothapalle
•
126 views
Environments - Fundamentals Webinar Series Week 5 by Chef
Environments - Fundamentals Webinar Series Week 5
Chef
•
12.5K views
Chef Cookbook Workflow by Amazon Web Services
Chef Cookbook Workflow
Amazon Web Services
•
7.5K views
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co... by Chef Software, Inc.
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
•
11.6K views
Terraform Testing with InSpec Demo by Annie Hedgpeth
Terraform Testing with InSpec Demo
Annie Hedgpeth
•
200 views
Chef Intro @ SF Bay Area LSPE meetup by Promet Source
Chef Intro @ SF Bay Area LSPE meetup
Promet Source
•
1.2K views
Ignite Talk on Chef by Bob Nowadly
Ignite Talk on Chef
Bob Nowadly
•
1.1K views
Compliance Automation with InSpec by Nathen Harvey
Compliance Automation with InSpec
Nathen Harvey
•
1.1K views
Test kitchen 1.0 - Fletcher Nichol by Devopsdays
Test kitchen 1.0 - Fletcher Nichol
Devopsdays
•
1.5K views
Lookout-Cucumber-Chef by Zachary Patten
Lookout-Cucumber-Chef
Zachary Patten
•
233 views
Building Better Chef Community Cookbooks by Tim Smith
Building Better Chef Community Cookbooks
Tim Smith
•
411 views
Introduction To Continuous Compliance & Remediation by Nicole Johnson
Introduction To Continuous Compliance & Remediation
Nicole Johnson
•
665 views
Cook like a Chef by Ian Yang
Cook like a Chef
Ian Yang
•
1.1K views
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle by Optimizely
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Optimizely
•
370 views
Chef for beginners module 5 by Chef
Chef for beginners module 5
Chef
•
288 views
Testing w-mocks by Macon Pegram
Testing w-mocks
Macon Pegram
•
1.4K views
Load test REST APIs using gatling by Jayaram Sankaranarayanan
Load test REST APIs using gatling
Jayaram Sankaranarayanan
•
1.4K views
Introduction to Test Kitchen by Nathen Harvey
Introduction to Test Kitchen
Nathen Harvey
•
2.5K views
Testing Your Automation Code (Vagrant Version) by Mischa Taylor
Testing Your Automation Code (Vagrant Version)
Mischa Taylor
•
3.6K views
Recently uploaded
Zero to Automated in Under a Year by
Zero to Automated in Under a Year
Network Automation Forum
22 views
•
23 slides
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Dr. Jimmy Schwarzkopf
24 views
•
29 slides
HTTP headers that make your website go faster - devs.gent November 2023 by
HTTP headers that make your website go faster - devs.gent November 2023
Thijs Feryn
26 views
•
151 slides
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab
23 views
•
15 slides
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe by
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe
Simone Puorto
13 views
•
61 slides
Uni Systems for Power Platform.pptx by
Uni Systems for Power Platform.pptx
Uni Systems S.M.S.A.
58 views
•
21 slides
Recently uploaded
(20)
Zero to Automated in Under a Year by Network Automation Forum
Zero to Automated in Under a Year
Network Automation Forum
•
22 views
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Dr. Jimmy Schwarzkopf
•
24 views
HTTP headers that make your website go faster - devs.gent November 2023 by Thijs Feryn
HTTP headers that make your website go faster - devs.gent November 2023
Thijs Feryn
•
26 views
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by sugiuralab
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab
•
23 views
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe by Simone Puorto
2024: A Travel Odyssey The Role of Generative AI in the Tourism Universe
Simone Puorto
•
13 views
Uni Systems for Power Platform.pptx by Uni Systems S.M.S.A.
Uni Systems for Power Platform.pptx
Uni Systems S.M.S.A.
•
58 views
Mini-Track: Challenges to Network Automation Adoption by Network Automation Forum
Mini-Track: Challenges to Network Automation Adoption
Network Automation Forum
•
17 views
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft Viva
Richard Harbridge
•
13 views
Kyo - Functional Scala 2023.pdf by Flavio W. Brasil
Kyo - Functional Scala 2023.pdf
Flavio W. Brasil
•
418 views
Info Session November 2023.pdf by AleksandraKoprivica4
Info Session November 2023.pdf
AleksandraKoprivica4
•
15 views
The Research Portal of Catalonia: Growing more (information) & more (services) by CSUC - Consorci de Serveis Universitaris de Catalunya
The Research Portal of Catalonia: Growing more (information) & more (services)
CSUC - Consorci de Serveis Universitaris de Catalunya
•
115 views
Democratising digital commerce in India-Report by Kapil Khandelwal (KK)
Democratising digital commerce in India-Report
Kapil Khandelwal (KK)
•
20 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial Services
Precisely
•
29 views
Future of Indian ConsumerTech by Kapil Khandelwal (KK)
Future of Indian ConsumerTech
Kapil Khandelwal (KK)
•
24 views
GDSC CTU First Meeting Party by National Yang Ming Chiao Tung University
GDSC CTU First Meeting Party
National Yang Ming Chiao Tung University
•
11 views
SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdf
Virendra Rai, PMP
•
25 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software
•
317 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
The Digital Insurer
•
24 views
Microsoft Power Platform.pptx by Uni Systems S.M.S.A.
Microsoft Power Platform.pptx
Uni Systems S.M.S.A.
•
61 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi
•
139 views
Chef-NYC June-2014 - Testing cookbooks on Digital Ocean
1.
Cookbook Testing with
TravisCI, Test Kitchen and Digital Ocean
2.
Sean OMeara! someara@getchef.com! @someara
3.
whoami
4.
Writing Cookbooks
8.
Are we done?
9.
Testing Cookbooks
10.
Slightly more involved.
11.
The Basics http://www.flickr.com/photos/jronaldlee/5295169486/
12.
Run the recipe See
what happens
13.
Manual techniques Automated techniques
16.
CLI IS BETTER
17.
Converge Testing
32.
Integration Testing ttps://www.flickr.com/photos/kitsa_sakurako/439652830
33.
Test that a
set of resources has achieved their combined goal
34.
{testable intent
37.
Test Kitchen runs integration
tests out of band of Chef
38.
It does this
with bussers
39.
Bats! Serverspec! Minitest! Cucumber
41.
suite busser
44.
kitchen test! ! kitchen converge! run
integration tests! kitchen destroy
45.
test tear down
46.
Style Testing
48.
Ruby level style enforcement
60.
single quotes space after
comma no trailing whitespace
63.
Chef level style enforcement
72.
http://www.flickr.com/photos/40389360@N00/2428706650/ Regression Testing
73.
ChefSpec makes assertions about compiled
resource collections
82.
REFERENCE SLIDE
86.
https://github.com/opscode-cookbooks/yum https://github.com/opscode-cookbooks/mysql Reference Cookbooks https://github.com/opscode-cookbooks/jenkins https://github.com/opscode-cookbooks/yum-epel
87.
Cookbook Dependencies
88.
Often, a cookbook
will depend on another
89.
include_recipe ‘another_cookbook::recipe’! ! OR! ! consume a
resource shipped in another_cookbook
90.
For example
93.
not in core
Chef
94.
ships in mysql cookbook
97.
Dependencies suck and you
don’t want to manage them manually.
102.
Berkshelf is bundler
for Chef cookbooks
104.
your chef-server here
106.
Bundler installs dependencies into
your local gem cache
107.
Berkshelf installs dependencies into
your local cookbook cache
114.
needs moar ServerSpec
115.
Travis CI
116.
Because I like
to close my laptop sometimes
117.
I ran out
of slides.