This repository represents the final exam for the Data Technician with Specaility in Programming 2024. Grade recieved: Simon: 12 (A+), Jasmin: 12 (A+), Mike: 12 (A+)
Added project PubHub.API.UT for unit testing of the API.
Added project PubHub.Common.UT for unit testing of the common library.
Added project PubHub.TestUtils for extensions and fixtures relavant for all tests (incl. future function tests).
A few tests that we can use as reference for more.
Database seeding has been made optional to not conflict with tests.
I've done my best to make things as simplistic as possible, so that new test methods can be created quickly and only contain a minimal amount of code.
If you are going to run the tests that use the DatabaseFixture (all API controller tests), the Docker daemon must be running on the system executing the tests.
PubHub.API.UT
for unit testing of the API.PubHub.Common.UT
for unit testing of the common library.PubHub.TestUtils
for extensions and fixtures relavant for all tests (incl. future function tests).I've done my best to make things as simplistic as possible, so that new test methods can be created quickly and only contain a minimal amount of code.
If you are going to run the tests that use the
DatabaseFixture
(all API controller tests), the Docker daemon must be running on the system executing the tests.Closes #91.