Summary
This chapter is dense with information about new processes and tools. Now, you should be comfortable designing a test suite for a Node.js backend application. You should be able to evaluate a testing framework that fits your needs and boosts your productivity.
You have learned how to use node-tap
, from basic assertions to advanced parallel test execution. Moreover, you can test a Fastify application and take advantage of Fastify’s inject
feature. You don’t have to worry about testing your API’s routes, whatever the level of complexity is.
Finally, we have seen how to integrate a CI pipeline using GitHub Actions and its logic to keep our repository away from regressions and production issues.
Now, you are ready to proceed to the next step and build a secure and reliable application. We mentioned CD earlier in this chapter; it is now time to see it in action in Chapter 10.