You've already forked Extensions.Configuration.EntityFrameworkCore
Add happy-path tests
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# RAIC.Extensions.Configuration.EntityFrameworkCore.PostgreSQL.Tests
|
||||
|
||||
Some basic happy path only tests for functionality exposed by `RAIC.Extensions.Configuration.EntityFrameworkCore.PostgreSQL.PostgreSQLNotificationConfigurationReloader`
|
||||
|
||||
## Requirements
|
||||
|
||||
Developers are expected to add their own User Secrets to the test project, containing a default connection string setting
|
||||
(ie. with key `ConnectionStrings:Default`) that points to a pre-configured database that contains a `settings` table with columns
|
||||
`key` & `value`.
|
||||
|
||||
Additionally, the required insert, delete and update triggers (**both** of them!) must have been
|
||||
added and enabled on the `settings` table otherwise tests will fail
|
||||
(see the [RAIC.Extensions.Configuration.EntityFrameworkCore.PostgreSQL README](../RAIC.Extensions.Configuration.EntityFrameworkCore.PostgreSQL/README.md)
|
||||
for suggestions of how to do this).
|
||||
|
||||
## TODO
|
||||
* Get EF to drop and create the database itself (using `EnsureDeleted()` & `EnsureCreated()`) instead of
|
||||
forcing this on the user
|
||||
* Additional tests off the happy path
|
||||
Reference in New Issue
Block a user