SpecFlowOSS / SpecFlow

#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
https://www.specflow.org/
Other
2.24k stars 754 forks source link

SpecFlow+ build step. skip when dotnet test failed exit code 1 #2527

Closed namilkimfree closed 2 years ago

namilkimfree commented 2 years ago

SpecFlow Version

3.9.7

Which test runner are you using?

SpecFlow+ Runner

Test Runner Version Number

3.9.7

.NET Implementation

.NET 5.0

Project Format of the SpecFlow project

Classic project format using <PackageReference> tags

.feature.cs files are generated using

SpecFlow.Tools.MsBuild.Generation NuGet package

Test Execution Method

Command line – PLEASE SPECIFY THE FULL COMMAND LINE

SpecFlow Section in app.config or content of specflow.json

{
  "bindingCulture": {
    "name": "en-us"
  },
  "language": {
    "feature": "en-us"
  },
  "stepAssemblies": [
    {
      "assembly": "myProjectBind"
    }
  ],
  "livingDocGenerator": {
    "enabled": true,
    "filePath": "TestExecution_{ProcessId}_{ThreadId}_{Now}.json"
  }
}

Issue Description

azure pipeline use

SpecFlow+ build step. skip when dotnet test failed exit code 1

Can I run Specflow livingdoc without skipping even if there are failed tests?

image

Steps to Reproduce

dotnet test --configuration test pass: 1, fail: 1

SpecFlow+(living doc plugin step ) build step. skip when dotnet test failed exit code 1

Link to Repro Project

No response

namilkimfree commented 2 years ago

setting azure control options.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.