Closed maurictg closed 2 weeks ago
It seems to be a Rider issue.
dotnet build
in the Android/iOS folder followed by dotnet test
works just fine.
If it is a rider issue it most likely had to do with the resharper build engine and their heuristics to determine a particular project is up to date. If you manually include files in a nocontent project you will have to specify the uptodatecheckinput https://github.com/dotnet/project-system/blob/main/docs/up-to-date-check.md
Reqnroll Version
2.0.3
Which test runner are you using?
NUnit
Test Runner Version Number
4.1.0
.NET Implementation
.NET 8.0
Test Execution Method
ReSharper Test Runner
Content of reqnroll.json configuration file
{ "$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json", "language": { "feature": "en-US" } }
Issue Description
We are using Appium for UI testing our app. We need a seperate project for Android and for iOS.
The shared project has the following csproj:
It is a NoTargets project, so this project won't be compiled. The C# and Feature files are referenced into the other assemblies with the following csproj:
If I add normal unit tests to the shared project, they can be run when running the Android or iOS project. However, ReqNRoll does not "see" the .feature files nor compiles them.
Can you help us out? I want to avoid real symlinking, and want to just include the files to the Android/iOS project.
Steps to Reproduce
Also, the output is not listing the features:
Link to Repro Project
https://github.com/maurictg/repro-reqnroll-sharedprojects