Introduction To BDD using SpecFlow (.NET 5)

SdĂ­let
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

Komentáƙe • 9

  • @munithach9034
    @munithach9034 Pƙed 3 lety

    Very useful, thanks

  • @mariosteiner9206
    @mariosteiner9206 Pƙed 3 lety +3

    simple, well explained, and easy to follow. I really like it, thanks Claudio :)

  • @valeriybabenko2195
    @valeriybabenko2195 Pƙed 2 lety

    Nice video, thanks

  • @KOMALVERMA-uf8cy
    @KOMALVERMA-uf8cy Pƙed 3 lety +1

    Sir can you please share the cs file of IDrivingRegulations which you have used in your above video code

    • @ClaudioBernasconi
      @ClaudioBernasconi  Pƙed 3 lety

      The source code of the entire project is available on GitHub: github.com/claudiobernasconi/SpecFlow.DrivingDemo

    • @KOMALVERMA-uf8cy
      @KOMALVERMA-uf8cy Pƙed 3 lety

      @@ClaudioBernasconi Thank you so much

  • @onvamdimon2224
    @onvamdimon2224 Pƙed 2 lety

    Introduction is not for beginners for sure. With pre-created scenarios (not from scratch) and coding experience needed