You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing very strange behavior with this property. I was looking for a way to generate test code out of feature files that are lying outside of project and I found that property in Reqnroll.Tools.MsBuild.Generation.targets.
I have following structure
solutionDir
testProject
testProject.csproj
Specification
Features (with feature files and nested structure)
Now where it gets interesting. If ReqnrollCodeBehindOutputPath is empty or doesn't exist in csproj then .feature.cs file is being generated in 'solutionDir\Specification\Features**.feature.cs'
But if it has ANY value then feature file is generated inside project, in 'solutionDir\testProject\Specification\Features***.feature.cs'
Don't get me wrong, it being spawned in the project location is quite success for me and quite satisfying for what I want to achieve. I was just wondering if this is bug, coincidence (?) or desired behavior. If it is a bug, should I look for another way to generate test/designer files in desired location?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing very strange behavior with this property. I was looking for a way to generate test code out of feature files that are lying outside of project and I found that property in Reqnroll.Tools.MsBuild.Generation.targets.
I have following structure
Now I am using following csproj
Now where it gets interesting. If ReqnrollCodeBehindOutputPath is empty or doesn't exist in csproj then .feature.cs file is being generated in 'solutionDir\Specification\Features**.feature.cs'
But if it has ANY value then feature file is generated inside project, in 'solutionDir\testProject\Specification\Features***.feature.cs'
Don't get me wrong, it being spawned in the project location is quite success for me and quite satisfying for what I want to achieve. I was just wondering if this is bug, coincidence (?) or desired behavior. If it is a bug, should I look for another way to generate test/designer files in desired location?
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions