In the last chapter, we looked at ways of making our components friendly for plugin developers. We saw a few of the benefits of dependency injection and how AdonisJS Fold can help us achieve it with minimal effort.
In this chapter, we will learn about testing—automated testing, effective testing, before-you-make-a-mess-of-your-code testing. We will learn about the benefits of testing and the different kinds of tests.