Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 18 days 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T09:35:35.000Z (over 3 years ago)
- Last Synced: 2024-07-30T19:13:32.188Z (5 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
[![Build Status](https://github.com/martinohmann/godog-db/workflows/build/badge.svg)](https://github.com/martinohmann/godog-db/actions?query=workflow%3Abuild)
[![Go Report Card](https://goreportcard.com/badge/github.com/martinohmann/godog-db)](https://goreportcard.com/report/github.com/martinohmann/godog-db)
[![Go Reference](https://pkg.go.dev/badge/github.com/martinohmann/godog-db.svg)](https://pkg.go.dev/github.com/martinohmann/godog-db)
![GitHub](https://img.shields.io/github/license/martinohmann/godog-db?color=orange)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.