
Test-Driven Infrastructure with Chef
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Preface
- Conventions Used in This Book
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. The Philosophy of Test-Driven Infrastructure
- Underpinning Philosophy
- Infrastructure as Code
- The Origins of Infrastructure as Code
- The Principles of Infrastructure as Code
- The Risks of Infrastructure as Code
- Professionalism
- Chapter 2. An Introduction to Ruby
- What Is Ruby?
- Grammar and Vocabulary
- Methods and Objects
- Identifiers
- More About Methods
- Classes
- Arrays
- Conditional logic
- Hashes
- Truthiness
- Operators
- Bundler
- Chapter 3. An Introduction to Chef
- Exercise 1: Install Chef
- Objectives
- Directions
- Worked Example
- Discussion
- Exercise 2: Install a User
- Objectives
- Directions
- Worked Example
- Discussion
- Exercise 3: Install an IRC Client
- Objectives
- Directions
- Worked Example
- Discussion
- Exercise 4: Install Git
- Objectives
- Directions
- Worked Example
- Discussion
- Chapter 4. Using Chef with Tools
- Exercise 1: Ruby
- Objectives
- Directions
- Worked Example
- Discussion
- Exercise 2: Virtualbox
- Objectives
- Directions
- Worked example
- Discussion
- Exercise 3: Vagrant
- Objectives
- Directions
- Worked Example
- Discussion
- Conclusion
- Chapter 5. An Introduction to Test- and Behavior-Driven Development
- The Principles of TDD and BDD
- A Very Brief History of Agile Software Development
- Test-Driven Development
- Behavior-Driven Development
- TDD and BDD with Ruby
- Minitest: Unit Testing for the 21st Century
- RSpec: The Transition to BDD
- Cucumber: Acceptance Testing for the Masses
- Chapter 6. A Test-Driven Infrastructure Framework
- Test-Driven Infrastructure: A Conceptual Framework
- Test-Driven Infrastructure Should Be Mainstream
- Test-Driven Infrastructure Should Be Automated
- Test-Driven Infrastructure Should Be Side-Effect Aware
- Test-Driven Infrastructure Should Be Continuously Integrated
- Test-Driven Infrastructure Should Be Outside In
- Test-Driven Infrastructure Should Be Test-First
- The Pillars of Test-Driven Infrastructure
- Writing Tests
- Running Tests
- Provisioning Machines
- Feedback of Results
- Chapter 7. Test-Driven Infrastructure: A Recommended Toolchain
- Tool Selection
- Unit Testing
- Integration Testing
- Acceptance Testing
- Testing Workflow
- Supporting Tools: Berkshelf
- Overview
- Getting Started
- Example
- Advantages and Disadvantages
- Summary and Conclusion
- Supporting Tools: Test Kitchen
- Overview
- Getting Started
- Summary and Conclusion
- Acceptance Testing: Cucumber and Leibniz
- Overview
- Getting Started
- Example
- Advantages and Disadvantages
- Summary and Conclusion
- Integration Testing: Test Kitchen with Serverspec and Bats
- Introducing Bats
- Introducing Serverspec
- Templates
- Integration Testing: Minitest Handler
- Overview
- Getting Started
- Example
- Advantages and Disadvantages
- Summary and Conclusion
- Unit Testing: Chefspec
- Overview
- Getting Started
- Example
- Advantages and Disadvantages
- Summary and Conclusion
- Static Analysis and Linting Tools
- Overview
- Getting Started
- Example
- Advantages and Disadvantages
- Summary and Conclusion
- To Conclude
- Chapter 8. Epilogue
- Appendix A. Bibliography
- Books on TDD and ATDD
- Books and Articles on BDD
- Books on Agile Testing in General
- Chef Articles and Presentations
- Books on Tools
- Books on Ruby
- Books on Bash and Shell Scripting
- General Programming Books
- Other Great Books
- Index
- About the Author
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.