Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Sep 9, 2024 · 0 comments · Fixed by #255
Assignees
Labels
bug Something isn't working

Comments

@ajeckmans
Copy link
Contributor

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

@ajeckmans ajeckmans added the bug Something isn't working label Sep 9, 2024
@ajeckmans ajeckmans self-assigned this Sep 9, 2024
@ajeckmans ajeckmans changed the title Reqnroll.Verify when tests are ran in parallel the received files will be named with random other tests. Reqnroll.Verify fails when tests are ran in parallel, because the received files will be named with the names of random other tests. Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant