Used Ogooreck as API testing framework
- Migrated all API tests to Ogooreck.
- Removed all startup classes and used a single Program file and
WebApplicationFactory
for tests. - Aligned tests, and removed obsolete helpers.
- Fixed issue with doubled registration of event handlers because of open-generic
EventListener
registration (replaced withIEventBus
decorator).
Read more about Ogooreck in my blog post: Ogooreck, a sneaky testing library in BDD style.
See details in PR: #136.