Learn how to set up integration tests by making a configuration file and implementing a base class.
We'll cover the following
Configuration file for integration tests
Logging configuration for integration tests
Finding a free port number for tests
BaseSpec for integration tests
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.