thegazelle-ad / gazelle-server

Server for front-end and editor tools of The Gazelle
MIT License
19 stars 8 forks source link

Move database tests to integration tests and refactor CI #427

Closed emilgoldsmith closed 6 years ago

emilgoldsmith commented 6 years ago

Related Issue

N/A

Description

The main motivator for this PR was that I didn't want flaky or slow tests in the unit tests, and the database tests weren't proper unit tests. So I now moved them to integration tests, but still managed to include them in the code coverage. While I was at it I cleaned up a lot of the CI code as well. The main points I did was:

How Has This Been Tested?

CI passes :)

Screenshots (if appropriate):

N/A

Checklist:

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 5.9% when pulling 52a5a60933936cbbf70f71f4be254b0362c350df on emil/refactor-tests into 5f0d8bc409e09d86169faf6ae72b52f21aeb3158 on master.

Helw150 commented 6 years ago

This is relatively large so I might not get to it until the weekend @emilgoldsmith

emilgoldsmith commented 6 years ago

No worries, thanks for the heads up!