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.22k stars 751 forks source link

BeforeTestRun or BeforeFeature get the number of the running tests #2715

Open Deith2 opened 11 months ago

Deith2 commented 11 months ago

SpecFlow Version

3.9.74

Which test runner are you using?

SpecFlow+ Runner

Test Runner Version Number

3.9.74

.NET Implementation

.NET 6.0

Project Format of the SpecFlow project

Sdk-style project format

.feature.cs files are generated using

SpecFlow.Tools.MsBuild.Generation NuGet package

Test Execution Method

Visual Studio Test Explorer

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

No response

Issue Description

Is it possible to get the number of total tests when the tests are running on step "BeforeTestRun" or "BeforeFeature"

Steps to Reproduce

lack

Link to Repro Project

No response