Book Image

Test-Driven Java Development

Book Image

Test-Driven Java Development

Overview of this book

Table of Contents (17 chapters)
Test-Driven Java Development
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
8
Refactoring Legacy Code – Making it Young Again
Index

Chapter 9. Feature Toggles – Deploying Partially Done Features to Production

 

"Do not let circumstances control you. You change your circumstances."

 
 --Jackie Chan

We have seen so far how TDD makes the development process easier and decreases the amount of time spent on writing quality code. But, there's another particular benefit to this. As code is being tested and its correctness is widely proven: we can go a step further and assume that our code is production-ready once all tests are passed.

There are some software life cycle approaches based on this idea. Some eXtreme Programming practices such as Continuous Integration, Continuous Delivery, and Continuous Deployment will be introduced.

The following topics will be covered in this chapter:

  • Continuous Integration, Delivery, and Deployment

  • Testing the application in production

  • Feature Toggles