27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
---
|
||
type: "topic"
|
||
created: "2024-01-06T01:25:36.093Z"
|
||
updated: "2024-01-06T01:25:36.093Z"
|
||
---
|
||
|
||
# BDD (Behavior Driven Development)
|
||
|
||
## Given – When – Then Approach
|
||
|
||
- Given: Some given context (Preconditions).
|
||
- When: Some Action is performed (Actions).
|
||
- Then: Particular outcome/consequence after the above step (Results).
|
||
|
||
- [Gherkin Reference](https://cucumber.io/docs/gherkin/reference/)
|
||
- [Examples](https://github.com/cucumber/vscode)
|
||
- [writing features - gherkin language](https://docs.behat.org/en/v2.5/guides/1.gherkin.html)
|
||
- [Cucumber](https://marketplace.visualstudio.com/items?itemName=CucumberOpen.cucumber-official)
|
||
- Remove - [category:formatters feature](https://marketplace.visualstudio.com/items?itemName=korostylov.gherkin-highlight)
|
||
- Remove - [SpecFlow Steps Definition Generator](https://marketplace.visualstudio.com/items?itemName=RajUppadhyay.specflow-steps-definition-generator)
|
||
- Remove - [Cucumber (Gherkin) Full Support](https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete)
|
||
|
||
```bash
|
||
# https://github.com/search/advanced
|
||
path:*.feature schedule language:C#
|
||
```
|