-
Notifications
You must be signed in to change notification settings - Fork 4
Description
While trying to move the output of the formatter to a different directory I encoutered an issue, that when I specify the location of the ndjson file in a different directory (either via reqnroll.json or env. variable) the resulting html file is still stored in the same directory as test executable (most likely as ExpressiumFormatter.cs#L32 takes just the filename without extension from the path).
Would it be possible to store the HTML file side-by-side with the ndjson in the outputFilePath directory?
Configuration:
- using via
reqnroll.json:
{
"$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",
"language": {
"feature": "en-US"
},
"formatters": {
"expressium": {
"outputFilePath": "../../../TestResults/LivingDoc.ndjson",
"outputFileTitle": "Project"
}
}
}
- using via env. variable:
REQNROLL_FORMATTERS_EXPRESSIUM="outputFilePath=$PWD/TestResults/LivingDoc.ndjson" dotnet test
Expected: have the livingDoc HTML in the TestResults/LivingDoc.html
Actual: LivingDoc.html is generated next to our test project output in ./tests/bin/Debug/net9.0/LivingDoc.html