Introduction To BDD using SpecFlow (.NET 5)
VloĆŸit
- Äas pĆidĂĄn 9. 07. 2024
- Get Started with SpecFlow here: go.specflow.org/ClaudioBernas...
SpecFlow is an open-source framework for Behavior Driven Development that provides a mechanism to turn specifications into executable code that can be used to create automated tests.
With over 10 million downloads on NuGet, SpecFlow is used by small and large software development teams around the world.
SpecFlow uses the Gherkin Given/When/Then syntax used in feature files and turns them into executable code, also known as step definitions.
Behavior Driven Development (BDD) tells people to work together when creating software products. What's unique about BDD is that the feature's specification is also used as its verification and can be automated and executed whenever the code changes.
That's why we also speak of living documentation.
The goal of BDD is to write feature specifications in a way that business people can understand them, and software people can automate their execution in the development process to run them continuously throughout the project.
00:00 Why developers need BDD
01:06 Introduction to BDD
02:49 Introduction to SpecFlow
03:23 Getting Started With SpecFlow
04:20 Creating the Test Project
05:38 SpecFlow Feature Files
08:50 Step Definition Files
12:58 Adding Additional Scenarios
15:44 SpecFlow Tips & Tricks
16:12 Advanced SpecFlow Use Cases
17:13 Additional SpecFlow Tools
đ Source Code:
github.com/claudiobernasconi/...
đ„ C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
claudiobernasconi.ch/dotnet-c...
đ .NET Developer Roadmap
claudiobernasconi.ch/learn-do...
đ CZcams Playlists:
The FREE Blazor Crash Course: âą The FREE Blazor Crash ...
C# Programming: âą How to Create Modern C...
â SUBSCRIBE FOR MORE VIDEOS
Subscribe: đ claudiobernasconi.ch/Subscribe
đ CONNECT & SUPPORT
Twitter: / chbernasconic
Blog: claudiobernasconi.ch
Newsletter: claudiobernasconi.ch/newsletter
CREDITS
đ” www.streambeats.com/
Icons: pastebin.com/AwrraZzN
* Affiliate Link: I earn a small commission at no additional cost
Very useful, thanks
simple, well explained, and easy to follow. I really like it, thanks Claudio :)
Thank you, Mario. đ
Nice video, thanks
Thank you. đ
Sir can you please share the cs file of IDrivingRegulations which you have used in your above video code
The source code of the entire project is available on GitHub: github.com/claudiobernasconi/SpecFlow.DrivingDemo
@@ClaudioBernasconi Thank you so much
Introduction is not for beginners for sure. With pre-created scenarios (not from scratch) and coding experience needed