Test-Driven Infrastructure with Chef. Bring Behavior-Driven Development to Infrastructure as Code. 2nd Edition - Helion
ISBN: 978-14-493-7259-0
stron: 308, Format: ebook
Data wydania: 2013-10-11
Księgarnia: Helion
Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)
Since Test-Driven Infrastructure with Chef first appeared in mid-2011, infrastructure testing has begun to flourish in the web ops world. In this revised and expanded edition, author Stephen Nelson-Smith brings you up to date on this rapidly evolving discipline, including the philosophy driving it and a growing array of tools. You’ll get a hands-on introduction to the Chef framework, and a recommended toolchain and workflow for developing your own test-driven production infrastructure.
Several exercises and examples throughout the book help you gain experience with Chef and the entire infrastructure-testing ecosystem. Learn how this test-first approach provides increased security, code quality, and peace of mind.
- Explore the underpinning philosophy that infrastructure can and should be treated as code
- Become familiar with the MASCOT approach to test-driven infrastructure
- Understand the basics of test-driven and behavior-driven development for managing change
- Dive into Chef fundamentals by building an infrastructure with real examples
- Discover how Chef works with tools such as Virtualbox and Vagrant
- Get a deeper understanding of Chef by learning Ruby language basics
- Learn the tools and workflow necessary to conduct unit, integration, and acceptance tests
Osoby które kupowały "Test-Driven Infrastructure with Chef. Bring Behavior-Driven Development to Infrastructure as Code. 2nd Edition", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Test-Driven Infrastructure with Chef. Bring Behavior-Driven Development to Infrastructure as Code. 2nd Edition eBook -- spis treści
- Test-Driven Infrastructure with Chef
- Preface
- Conventions Used in This Book
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 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
- 2. An Introduction to Ruby
- What Is Ruby?
- Grammar and Vocabulary
- Methods and Objects
- Identifiers
- Variables
- Constants
- Keywords
- Method names
- More About Methods
- Classes
- Arrays
- Conditional logic
- Hashes
- Truthiness
- Operators
- Bundler
- 3. An Introduction to Chef
- Exercise 1: Install Chef
- Objectives
- Directions
- Worked Example
- Discussion
- The Chef framework
- The Chef tool
- The Chef API
- The Chef community
- 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
- Exercise 1: Install Chef
- 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
- Exercise 1: Ruby
- 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
- Building the right thing
- Reducing risk
- Evolving design
- TDD and BDD with Ruby
- Minitest: Unit Testing for the 21st Century
- RSpec: The Transition to BDD
- Cucumber: Acceptance Testing for the Masses
- The Principles of TDD and BDD
- 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
- Test-Driven Infrastructure: A Conceptual Framework
- 7. Test-Driven Infrastructure: A Recommended Toolchain
- Tool Selection
- Unit Testing
- Integration Testing
- Acceptance Testing
- Testing Workflow
- Supporting Tools: Berkshelf
- Overview
- Getting Started
- Example
- Berkshelf and Vagrant
- Berkshelf and Chef environments
- 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
- Minitest Handler with Test Kitchen
- 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
- Tool Selection
- 8. Epilogue
- 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
- Colophon
- Copyright