Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/feliux/go-bdd
BDD example written in go
https://github.com/feliux/go-bdd
bdd bdd-tests golang
Last synced: about 23 hours ago
JSON representation
BDD example written in go
- Host: GitHub
- URL: https://github.com/feliux/go-bdd
- Owner: feliux
- Created: 2024-05-09T21:03:03.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-09T21:09:17.000Z (8 months ago)
- Last Synced: 2024-05-09T22:26:12.248Z (8 months ago)
- Topics: bdd, bdd-tests, golang
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Behaviour Driven Development
```bash
$ go install github.com/cucumber/godog/cmd/godog@latest
$ export PATH="$PATH:$(go env GOPATH)/bin"$ cd
$ godog# Ejecuta los test para el tag puntuación
$ godog -t=@puntuacion
# Ejecuta escenarios de manera aleatoria
$ godog --random # útil para detectar dependencias
# Ejecuta escenarios de manera concurrente
$ godog --concurrency=2
$ godog --concurrency 2 --format progress
```### Good practices
Do this...
1. Describe the behaviour, not the implementation. Be concise.
2. Use the context to share the state.### Antipatterns
Do not do this...
1. Alternate order Given-When-Then
## References
[godog](https://github.com/cucumber/godog)
[cucumber-html-reporter](https://github.com/gkushang/cucumber-html-reporter)