reqnroll / Reqnroll

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

Reqnroll is still using the file specflow.json #55

Closed maoso closed 4 months ago

maoso commented 4 months ago

Reqnroll Version

1.0.1

Which test runner are you using?

NUnit

Test Runner Version Number

4.5.0

.NET Implementation

.NET 6.0

Test Execution Method

Visual Studio Test Explorer

Content of reqnroll.json configuration file

No response

Issue Description

I am testing Reqnroll migration and when running it on Visual Studio 2022 I can see into the ReqnRoll output that still makes reference to specflow.json file.

So it calls to the command dotnet.exe exec < path to reqnroll-vs.dll > discovery < dll path > < path to specflow.json >

I think it shouldn't make reference to specflow.json probably should be reqnroll.json

Steps to Reproduce

I am testing Reqnroll migration and when running it on Visual Studio 2022 I can see into the ReqnRoll output that still makes reference to specflow.json file.

So it calls to the command dotnet.exe exec < path to reqnroll-vs.dll > discovery < dll path > < path to specflow.json >

I think it shouldn't make reference to specflow.json probably should be reqnroll.json

Link to Repro Project

No response

konarx commented 4 months ago

It is actually a feature. As referred to documentation:

Reqnroll uses a JSON configuration file named reqnroll.json, but it is also compatible with the specflow.json configuration files.

gasparnagy commented 4 months ago

Yes, as @konarx said it is by design for now. I'm closing the issue, but if you see anything with this approach that causes a problem, please reopen.