Chapter 11: Testing the Strapi API
Software testing is an important aspect of the software development life cycle—it helps in ensuring that the software is free from defects and that it meets the expected requirements. In this final chapter of the book, we will discuss testing the Strapi application. We will see which tools and libraries we need to test our Strapi API (short for application programming interface) and how to set up the testing environment. Finally, we will look at how to write and run tests against our code.
Here are the topics we will cover in this chapter:
- An overview of software testing
- Configuring test tools
- Setting up the test environment
- Writing and running tests