Summary
In this chapter, we learned why testing is an important step in the process of developing any application, including CLI applications. I like to call tests your safety nets: they ensure not only that your new features behave as expected but also that you don’t accidentally introduce bugs in existing functionalities (we call these regressions). I highly encourage you to write effective tests and run them often.
We also explored the categories and roles of tests, and we learned techniques for testing applications and applied them to Bookmarkr, our CLI application.
Our application now has the required functionalities, and we ensured, through testing, that these functionalities behave as expected. It is now time to deliver the application to its users!
This is why, in the next chapter, we will explore different techniques that will allow us to package, distribute, and deploy our application.