reqnroll / Reqnroll

Open-source Cucumber-style BDD test automation framework for .NET.
https://reqnroll.net
BSD 3-Clause "New" or "Revised" License
356 stars 38 forks source link

Reqnroll.Verify fails when tests are ran in parallel, because the received files will be named with the names of random other tests. #254

Closed ajeckmans closed 2 weeks ago

ajeckmans commented 3 weeks ago

Reqnroll Version

All of them

Which test runner are you using?

xUnit

Test Runner Version Number

n/a

.NET Implementation

.NET 8.0

Test Execution Method

Other – PLEASE SPECIFY

Content of reqnroll.json configuration file

No response

Issue Description

The plugin currently sets a global static parameter of Verify to determine the folder and filename on start of each scenario. This causes issues when tests are ran in parallel as the received files will be named with whatever scenario happens to have been started last.

Steps to Reproduce

Write multiple (long running) verify scenarios and run them in parallel.

Link to Repro Project

No response