Setting Up Integration Tests

Learn how to set up integration tests by making a configuration file and implementing a base class.

Configuration file for integration tests

First, we need to configure our test database because we do not want to accidentally wipe out our production database. For our case, we leave everything as is and change the database name.

Get hands-on with 1400+ tech skills courses.