godog-db defines a godog feature context which adds steps to setup and verify database contents during tests.
go get -u github.com/martinohmann/godog-db
Check feature_context_test.go
and the features/
for usage examples.
The source code of godog-db is released under the MIT License. See the bundled LICENSE file for details.