Sacanas-Inc / GameScoringAPI

0 stars 0 forks source link

Unit Tests - Implementation #21

Open Lavizord opened 3 months ago

Lavizord commented 3 months ago

Currently implementing unit tests on the API.

Seeding Database when starting up Tests:

Implementes Tests on the following: GET:

POST:

PUT:

DELETE:

Lavizord commented 3 months ago

There seems to be an issue when we run all tests in parallel, some seem to fail, i believe its due to the DbContext being shared. However when I change the TestBase to generate a database with a GUID name, more tests fail when run in parallel.

This should be resolved, might cause issues in the pipeline.