notes-infineon/_-Review/behavior-driven-development.md
2024-06-03 07:04:29 -07:00

27 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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#
```