https://github.com/martinohmann/godog-db
Feature context for godog that adds database testing steps
https://github.com/martinohmann/godog-db
bdd cucumber database gherkin golang integration-testing
Last synced: about 1 month ago
JSON representation
Feature context for godog that adds database testing steps
- Host: GitHub
- URL: https://github.com/martinohmann/godog-db
- Owner: martinohmann
- License: mit
- Created: 2019-03-17T19:11:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T09:35:35.000Z (over 3 years ago)
- Last Synced: 2025-02-01T02:42:58.075Z (3 months ago)
- Topics: bdd, cucumber, database, gherkin, golang, integration-testing
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# godog-db
[](https://github.com/martinohmann/godog-db/actions?query=workflow%3Abuild)
[](https://goreportcard.com/report/github.com/martinohmann/godog-db)
[](https://pkg.go.dev/github.com/martinohmann/godog-db)
godog-db defines a godog feature context which adds steps to setup and verify database contents during tests.
## Installation
```sh
go get -u github.com/martinohmann/godog-db
```## Usage
Check [`feature_context_test.go`](feature_context_test.go) and the [`features/`](features/) for usage examples.
## License
The source code of godog-db is released under the MIT License. See the bundled
LICENSE file for details.