Skip to content

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration

License

SpecFlowOSS/SpecFlow

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Add support for Rule Backgrounds. Preliminary commit. Lacks tests.

* Add support for Rule Backgrounds.Revised Commit to simplify approach and code. Lacks tests.

* Refactored signature of method: UnitTestMethodGenerator.GenerateTestMethodBody to accept a ScenarioDefinitionInFeatureFile instead of an AST Scenario. This allows simpler tracking of the relationship between Scenario and Rule.
Refactored Rule Background support in ScenarioPartHelper to simplify the code and accept changes suggested during PR review.

* Adding a feature file in the Specs tests to demonstrate a Feature with multiple Rules, each having  a Background; the Background steps should only be executed for the Scenario(s) within their respective Rule.

* Further simplification of Rule support in SPH by merging two private methods together.

* Corrected feature's binding code. Tests now pass.

* Updating changelog

* Reverting this feature back to the version present in SpecFlowOSS/SpecFlow.

* Refactored/revised to improve readabliity and formatting

Co-authored-by: Gáspár Nagy <gaspar.nagy@gmail.com>
8e0e7d4

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 8, 2021 11:49
August 17, 2018 14:00
April 11, 2019 17:52
November 10, 2021 14:23
April 11, 2019 17:52
January 22, 2015 09:52

SpecFlow - Cucumber for .NET

SpecFlow is a pragmatic BDD solution for .NET. It provides test automation for .NET (.NET Framework, .NET Core and Mono), based on the Gherkin specification language and integrates to Visual Studio.

Useful Links

For questions please post them in our community discussion group.

For issues/bugs please use the issue tracker on GitHub.

Supported .NET Versions:

Build status

Continuous integration: Build Status

Deployment status

Unit Tests: Unit Tests

General Specs: General Specs

xUnit Integration Tests: windows2022 windows2019

NUnit Integration Tests: windows2022 windows2019

MSTest Integration Tests: windows2022 windows2019

Published to MyGet: Published to MyGet

CI NuGet Package feed: https://www.myget.org/F/specflow/api/v3/index.json

Contributing

Developer Discord channel: #contributing

The main development happens on the master branch.

If you are interested in contributing, there is some useful information on this page: Contributing.

Writing plugins

Plugin- Developer- Discord channel: #plugin-development

Copyright

Copyright (c) SpecFlow Team. See LICENSE for details.

About

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages