Creating Automated Tests for Strapi API with PactumJS

Automated tests can be essential to ensure that your application is running smoothly and free of bugs. You can catch potential issues early on in the development process. This step-by-step tutorial will teach you how to create automated tests for Strapi API using PactumJS.

This is a companion discussion topic for the original entry at
1 Like

Amazing article

Thanks for this.

This looks like the test will run on your development strapi instance/database. How would this be used if you want to run a separate strapi instance in a test environment and also with a test database.

Kindly shed light please. Thanks.