db-test
Release v0.3.0Database integration tests that run the same test body against SQL Server, PostgreSQL and MySQL, each in a throwaway container.
- One abstract test class, one small class per engine
- The shape guard blames the test that reshaped the schema
- CleanAsync() empties every table, whatever the foreign keys
[TestClass]
public sealed class PostgresCustomerTests : CustomerTests
{
protected override DbEngine CreateEngine() => new PostgreSqlEngine();
protected override string SchemaRoot => "Schema/postgres";
}