Hi guys. Please tell me I’m trying to implement the Nunit module and I get the following error:
FATAL: No NUnit test report files were found. Configuration error?
This is the command I run the test with:
dotnet test ${path} -r tst \
--logger "trx;LogFileName=UnitTests.xml" \
--no-restore \
/p:CollectCoverage=true \
/p:CoverletOutputFormat=opencover \
/nodeReuse:false
here is my step in the pipeline:
step([$class: 'NUnitPublisher', testResultsPattern: './tst/UnitTests.xml', debug: false, keepJUnitReports: true, skipJUnitArchiver:false, failIfNoResults: true])
what am I doing wrong . Thank you