October 10, 2020

What is Specflow???


SpecFlow is a test automation solution for .NET built upon the BDD paradigm. Use SpecFlow to define, manage and automatically execute human-readable acceptance tests in .NET projects (Full Framework and .NET Core).

SpecFlow tests are written using  Ghekin, which allows you to write test cases using natural languages. SpecFlow uses the official Gherkin parser, which supports over 70 languages.

These tests are then tied to your application code using so-called  bindings, allowing you to execute the tests using the testing framework of your choice.

You can also execute your tests using SpecFlow’s own dedicated test runner, SpecFlow+ Runner.

The automation that connects the Gherkin specifications to source code is called a binding. The binding classes and methods can be defined in the SpecFlow project

The step definition that automates the scenario at the step level. This means that instead of providing automation for the entire scenario, it has to be done for each separate step.

hooks can be used to perform additional automation logic on specific events, e.g. before executing a scenario.

what is Scenario Outline:   Multiple iteration of same scenario with different data.










No comments:

Post a Comment

Please let me know if you have any doubts.

Key concepts in Pipeline

 1. Agent- To build your code or deploy your software using azure pipelines, you need at least one agent. Two types of agent- Microsoft host...