0
0
Files
Extensions.Configuration.En…/RAIC.Extensions.Configuration.EntityFrameworkCore.SqlServer.Tests
Rhys Ickeringill 9c796d0335 Add happy-path tests
2026-03-17 18:55:29 +11:00
..
2026-03-17 18:55:29 +11:00
2026-03-17 18:55:29 +11:00
2026-03-17 18:55:29 +11:00
2026-03-17 18:55:29 +11:00
2026-03-17 18:55:29 +11:00

RAIC.Extensions.Configuration.EntityFrameworkCore.SqlServer.Tests

Some basic happy path only tests for functionality exposed by RAIC.Extensions.Configuration.EntityFrameworkCore.SqlServer.SqlServerNotificationConfigurationReloader

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, both the database and Settings table must have change tracking enabled otherwise tests will fail (see the RAIC.Extensions.Configuration.EntityFrameworkCore.SqlServer README for details 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 ()