Binding business requirements to .Net code
C# Gherkin XSLT HTML Visual Basic Batchfile Other
Switch branches/tags
Clone or download
DanielTheCoder and SabotageAndi MsBuild Extended support for net.sdk project type system (targeting d…
…esktop framework, not core) (#1223)

This pull request extends support for net.sdk project system when MSBuild Generation is used
- enables usage of net.sdk project type system when **targeting desktop framework => not .net core support**
- globbing support for nesting codebehind files under feature files
- fixed handling of added and removed codebehind files after regeneration
- added warning if codebehind files without corresponding feature file is present (only for net.sdk project system enabled by default)

As this integration is experimental, you have to enable it via the following MSBuild property
- inside your csproj
- or using on of the directory or solution extension points in MSBuild https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build

``` 
  <PropertyGroup>
    <!-- enable experimental support for net.sdk projects via feature flag -->
    <SpecFlow_EnableDefaultCompileItems>true</SpecFlow_EnableDefaultCompileItems>
    <!-- enable experimental support to warn if code behind files are exisiting without corresponding feature file -->
    <SpecFlow_EnableWarnForFeatureCodeBehindFilesWithoutCorrespondingFeatureFile>true</SpecFlow_EnableWarnForFeatureCodeBehindFilesWithoutCorrespondingFeatureFile>
  </PropertyGroup>
```

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue).
- [x] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] I've added tests for my code.
- [x] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have added an entry to the changelog
Latest commit 460b037 Aug 7, 2018
Permalink
Failed to load latest commit information.
.vscode Upstream settings for https://marketplace.visualstudio.com/items?item… Mar 3, 2018
Build Use GitVersion vor versioning (#1129) Apr 24, 2018
ExternalRepositories Use GitVersion vor versioning (#1129) Apr 24, 2018
Installer MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
Licenses Added licenses for referenced libraries that are delivered with SpecF… Mar 30, 2018
SpecFlow.TestGenerator Use GitVersion vor versioning (#1129) Apr 24, 2018
TechTalk.SpecFlow.Generator MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
TechTalk.SpecFlow.Parser.Compatibility update Gherkin to 5.1.0 (#1198) Jul 11, 2018
TechTalk.SpecFlow.Parser update Gherkin to 5.1.0 (#1198) Jul 11, 2018
TechTalk.SpecFlow.Reporting update Gherkin to 5.1.0 (#1198) Jul 11, 2018
TechTalk.SpecFlow.Tools MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
TechTalk.SpecFlow.Utils Use GitVersion vor versioning (#1129) Apr 24, 2018
TechTalk.SpecFlow Array & List support for strings and enums when instantiating class f… Jul 17, 2018
Tests MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
docs add pull_request_template.md Apr 18, 2018
lib update MSBuild.Community.Tasks to latest version via NuGet (#801) Mar 7, 2017
packages Merge remote-tracking branch 'origin/v2' into integrate_gherkin3 Nov 10, 2015
.gitattributes Turn off line ending git auto conversion (#953) Oct 11, 2017
.gitignore MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
.gitmodules add missing .gitmodules file May 23, 2018
CONTRIBUTING.md Enhancements to Contributing.md with regard to style Nov 25, 2016
CommonAssemblyInfo.cs using new generator interface Mar 31, 2011
GitExtensions.settings add GitExtensions configuration file with github and appveyor configu… Jun 1, 2017
GitVersion.yml Use GitVersion vor versioning (#1129) Apr 24, 2018
LICENSE.txt Create LICENSE.txt Oct 24, 2017
Languages.xml Merge pull request #310 from Daniel15/patch-1 Sep 11, 2014
README.md add VSTS Ci Jan 19, 2018
TechTalk.SpecFlow.sln MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
TechTalk.SpecFlow.sln.docstates fix unit tests Jul 12, 2011
appveyor.yml Use GitVersion vor versioning (#1129) Apr 24, 2018
changelog.txt MsBuild Extended support for net.sdk project type system (targeting d… Aug 7, 2018
nuget.config update Gherkin to 5.1.0 (#1198) Jul 11, 2018
specflow.ico remove unused assets Jan 22, 2015
specflow.snk Add strong-name for specflow assemblies Nov 10, 2009
specflow.yml add up-for-grabs yml-file Apr 19, 2016
vsts.nuget.config move nuget config to root level (#1044) Feb 20, 2018

README.md

SpecFlow - Cucumber for .NET

SpecFlow is a pragmatic BDD solution for .NET. It uses the Gherkin specification language and integrates to Visual Studio. It provides efficient testing solution for the .NET-related platforms, like .NET, Mono, Silverlight or Windows Phone 7.

For questions please send them to the Discussion group.

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

Stats

Pull Requests Issues closed

Build status

Continuous integration: Build status
VSTS Continuous integration: Build status

CI NuGet Package feed: https://ci.appveyor.com/nuget/specflow-ci

Contributing

Developer Gitter chat: Join the chat at https://gitter.im/gasparnagy/specflow-dev

The main development happens on the master branch.

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

Copyright

Copyright (c) TechTalk. See LICENSE for details.