Open StarWars999123 opened 6 years ago
It seems, that using Specflow 2.4.0 does not cause this error. However, we got trouble with the newest VS release and Specflow 2.3.0.
Issue reoccured with Specflow 2.4.0. Its very difficult now, to debug failing tests.
@StarWars999123 I can't reproduce the behaviour you are describing. I have here an example solution with all test runners: https://github.com/SabotageAndi/SpecFlow.Example.AllTestRunners And executing a single example of a scenario outline is possible.
Okay, I had a test, where it occured allways, that all parametrizations were run. The issue disappeared, as soon as I added a unique column as a first column and I am now able to debug also a single parametrization.
Scenario Outline: Asdfsdfsdfsdfsdfsdfsd sdfsdfsdf sdff sdfsdfsdfsdfsdf
Gvien I set the settings to
| Firstvalue|SecondValue|
| <Tz>| <dST>|
When something
Then something shall be so.
The examples table before:
| Tz | dST |
| -18000 | true |
| 3600 | false |
| -18000 | false |
The table afterwards:
| No | Tz | dST |
| 1 | -18000 | true |
| 2 | 3600 | false |
| 3 | -18000 | false |
So did you solved your problem on your own?
Its more kind of a workaround. I changed the arguments of the scenario to identify the scenarios faster. However, this seems still kind of weird and shouldn't happen.
Hi , Even i am facing this problem. and am using specflow 3.0. Like StarWars999123 mentioned if the first set of parameters in scenario outline is replaced with a unique set , i am able to run specific selected scenarios, if that is not a unique set, then my whole set of possibilities run even if i select only one in test explorer.
SpecFlow Version:
Used Test Runner
Version number:
Visual Studio Version
Are the latest Visual Studio updates installed?
.NET Framework:
Test Execution Method:
Issue Description
In older versions, it was possible to execute a single parameterization of a scenario outline. When you try to execute a single parameterization now, it allways executes the complete scenario! However, we have scenarios with dozens of parameters and each test can take several minutes. So, when a single parameter fails, its very time consuming to debug it.
Steps to Reproduce
Have a project, with a scenario outline and several parameters. Run a simple parameter combination from the test explorer. As a result, the complete scenario outline with all parameters get executed.