Test-Driven Infrastructure with Chef. Bring Behavior-Driven Development to Infrastructure as Code. 2nd Edition (e-book) Zabrze

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 …

od 109,65 Najbliżej: 9,8 km

Liczba ofert: 1

Oferta sklepu

Opis

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 codeBecome familiar with the MASCOT approach to test-driven infrastructureUnderstand the basics of test-driven and behavior-driven development for managing changeDive into Chef fundamentals by building an infrastructure with real examplesDiscover how Chef works with tools such as Virtualbox and VagrantGet a deeper understanding of Chef by learning Ruby language basicsLearn the tools and workflow necessary to conduct unit, integration, and acceptance tests 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 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 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 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 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 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

Specyfikacja

Autor
  • Stephen Nelson-Smith
Wybrane wydawnictwa
  • O'Reilly Media
Rok wydania
  • 2013
Ilość stron
  • 308