Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.