Getting Started With SpecFlow Selenium C# | What is SpecFlow 🤷‍♀️| SpecFlow Tutorial | Part I

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 17

  • @LambdaTest
    @LambdaTest  3 ปีที่แล้ว +2

    Refer to this complete Specflow Selenium C# Tutorial to learn more: bit.ly/2OlrNxK
    If you’ve any questions about this Specflow Tutorial, feel free to drop them in the comments below.
    Don’t forget to subscribe to our channel for the latest videos and updates

  • @ericgodwin4844
    @ericgodwin4844 2 ปีที่แล้ว +1

    Great tutorial. However, test explorer doesn't seem to display the tests for me. Any tips to help me solve it please?

    • @LambdaTest
      @LambdaTest  2 ปีที่แล้ว

      Hey Eric,
      Can you please elaborate more about the issue you are facing?

  • @gouthamireddy6067
    @gouthamireddy6067 ปีที่แล้ว +1

    Hello, can we execute only failure testcases in specflow and how?

    • @LambdaTest
      @LambdaTest  ปีที่แล้ว

      Hey there,
      In SpecFlow, to rerun only the failed tests, you can use one of the following methods:
      NUnit Retry Attribute: Use the Retry attribute in NUnit to automatically retry failed tests a specified number of times.
      [Test, Retry(2)]
      public void MyTest() {
      // Test code
      }
      Test Frameworks & CI/CD Tools: Some frameworks or CI/CD tools, like Azure DevOps, offer features to rerun failed tests.
      Manual Execution: Manually identify and rerun failed tests based on test reports.
      Custom Script: Write a script to parse test results and rerun failed tests.

  • @bootmood
    @bootmood 3 ปีที่แล้ว +3

    Very interesting. Set up seems to be straight forward too. Thanks.

    • @LambdaTest
      @LambdaTest  3 ปีที่แล้ว

      Glad you found it useful!

  • @sachinkainth9508
    @sachinkainth9508 2 ปีที่แล้ว +1

    Great tutorial.

    • @LambdaTest
      @LambdaTest  2 ปีที่แล้ว +1

      Glad you liked it!

  • @nehatewari519
    @nehatewari519 3 ปีที่แล้ว +1

    I am new to C# and could use a tutorial on how to set it up and test a feature with Specflow. Thanks, this helps!

  • @farrukhkamran5017
    @farrukhkamran5017 3 ปีที่แล้ว

    Thanks , do you know how to create test case dependency in specflow ?
    Lets say scenario 2 is dependent on scenario 1.

    • @LambdaTest
      @LambdaTest  3 ปีที่แล้ว

      It’s a bad practice to create dependency among scenarios since in Specflow it’s important to main each and every scenario to be as independent as possible and only then they can be used to run tests in parallel, as how we did to run parallel tests in LambdaTest platform

  • @riteshshetty8821
    @riteshshetty8821 3 ปีที่แล้ว

    Thanks for another great tutorial video! Worth the watch!

    • @LambdaTest
      @LambdaTest  3 ปีที่แล้ว

      Glad you liked it!

  • @deepesttrouble1
    @deepesttrouble1 2 ปีที่แล้ว +1

    Would be good if you would not stick to Visual Studio (which is not available on Linux ) and give a little instructions for VS Code (there are plenty on youtube some of them from speflow team) since it's working pretty well with Gerkin and dotnet cli. Otherwise in one slide you say specflow cross-platform, and next slide you cut Linux off by VS2017+ requirement.

    • @LambdaTest
      @LambdaTest  2 ปีที่แล้ว

      Hey Mikhail, We appreciate your feedback. Will surely consider your inputs while working on next set of videos. :)