Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fchristenson/bdd
https://github.com/fchristenson/bdd
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fchristenson/bdd
- Owner: fChristenson
- Created: 2019-12-27T20:48:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T18:36:07.000Z (about 2 years ago)
- Last Synced: 2023-08-20T07:21:57.813Z (over 1 year ago)
- Language: Gherkin
- Size: 256 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# BDD
## What we will cover
- What is BDD?
- How do you work in a BDD style?
- What tools do you need?## Notes
BDD or Behavior driven development is a style of working where you define features in steps and then write tests
that run against your application to verify if a feature is working in the way specified.These tests are written in Gherkin which is a code like language that is converted in to test steps that can then
be implemented by developers to perform the action described in the step.Some rules to follow:
- Do not try to write BDD tests for every possible feature, it will slow down your tests to a crawl
- Write tests that simulate the most critical paths for a user, if broken the whole system is considered down
- Create a strict convention for how you define steps and features, there will be a lot of them and it gets messy
- BDD tests should run before every release to production