boraarslan / mapper-influence

0 stars 0 forks source link

Grouping tests to reduce database connection errors #9

Closed 112batuhan closed 1 year ago

112batuhan commented 1 year ago

Grouping similar tests to singular test functions to reduce database connection errors to database.

As first example, I merged the unit tests for insert functionality.

112batuhan commented 1 year ago

I need to know how to access the database to run the tests locally. So that I won't have to push "minor error correction" commits all the time :D

boraarslan commented 1 year ago

I'll open a PR today to add Docker to the test suite. That way, you can run the tests locally.

112batuhan commented 1 year ago

I finally get docker running but when I run make test-all, I get permission denied error. After checking the docker-compose.yml file, I guess I'm missing environment variables.

112batuhan commented 1 year ago

I finally got the docker running and refactored all the tests into groups. It's ready for review this time.

112batuhan commented 1 year ago

Updated the code according your review