Benefits for Developers

Test Execution and Reporting

With SpecFlow you can easily run your tests and generate full documentation for your stakeholders with every new build – easy as pie!

3 Easy Steps to Execute Tests

1

Write executable speci­fica­tions in natural language

How to write Gherkin?
2

Bind the specifications defined to your code

How to bind steps?
3

Run the tests

How to configure?

Test First Development

Mark Steps as not implemented

Start with automating the specifications before writing your business logic.

More on Marking Steps
Clean the test database before scenario:
[When(@"I set the current ScenarioContext to pending"]
public void WhenIHaveAPendingStep() {
throw new PendingStepException();
}

Executing Specific Scenarios in Your Build Pipeline

Tag tests to filter the test execution in your build pipeline.

Tags
12345678Feature:@executionTagScenario: Given:When:Then:

Tagging for Execution Slicing

Enhance test-execution-speed by executing on multiple agents

Use Tags within your tests to create your own build pipelines.

Tagging

Automate Using Any .NET Library

SpecFlow integrates seamlessly with all .NET libraries.

More on integrations

Unit Test Runner & Framework Agnostic

SpecFlow works with industry leading unit test runners. Pick the one you are familiar with or use our own SpecFlow+ Runner.

SpecFlow+ Runner

… curious to try it out?

Start using SpecFlow now

Integrations

Next