goose_test library

A testing library which makes it easy to test migrations. Built to be used with the Goose migration package.

Functions

testMigration<T extends Migration>(String description, {required FutureOr<T> create(), required FutureOr<void> verifyUp(T), required FutureOr<void> verifyDown(T), FutureOr<void> setupUp()?, FutureOr<void> setupDown()?, dynamic tags}) Future<void>
testMigration creates a new migration-specific test case with the given description.