Skip to content

testdb/v0.2.0

Choose a tag to compare

@saravenpi saravenpi released this 15 Nov 23:47
· 2 commits to main since this release
5c76aab

tronc/testdb v0.2.0, additive. New: AssertModelsMatch, AssertModelsMatchWith, AllowedTypes, OpenIsolated, LockID, URLFrom, Config.SearchPathTail. See testdb/CHANGELOG.md.

MIGRATION

  • 13 apps delete the body of schemas/columns_test.go and call testdb.AssertModelsMatch(t, db, queryModels...). Import github.com/FacileStudio/tronc/testdb (already required). Details per app are in the tronc v0.26.0 release notes.
  • Echo, Journal, Antenne, Casier, Sablier and Place can delete their own schema harness: OpenIsolated (schema per test), LockID (goose lock per schema), URLFrom (their own env var), SearchPathTail (public for extensions).