test(data): cover migrations and every repository on both dialects
Shared abstract suites run against in-memory/temp-file SQLite and, with TITANO_TEST_PG, a private PostgreSQL schema per test: migration idempotency and version refusal, keyset paging with ties for every sort, statistics, exclusive job claiming under 8 concurrent claimers, and the 100k-frame bulk insert under 15 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
8 files changed
+1125
-1
No files matched your search
@@ -1,8 +1,14 @@
|
||||
using Titano.Core.Diagnostics;
|
||||
using Titano.Testing;
|
||||
|
||||
namespace Titano.Data.Tests;
|
||||
|
||||
internal static class TestMain
|
||||
{
|
||||
public static Task<int> Main(string[] args) => TestRunner.RunAsync(args, typeof(TestMain).Assembly);
|
||||
public static Task<int> Main(string[] args)
|
||||
{
|
||||
// Migrations and schema drops log at Info for every test database; keep the console for warnings.
|
||||
Log.MinimumLevel = LogLevel.Warning;
|
||||
return TestRunner.RunAsync(args, typeof(TestMain).Assembly);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user