Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No warning when unknown options are specified. #384

Closed
manfred-brands opened this issue Sep 8, 2020 · 1 comment
Closed

No warning when unknown options are specified. #384

manfred-brands opened this issue Sep 8, 2020 · 1 comment

Comments

@manfred-brands
Copy link
Contributor

manfred-brands commented Sep 8, 2020

Describe the bug
When using an typo in an option (in this case missing the trailing 's' in assemblyfilters) the report generator runs.
Expect error complaining about unknown option, instead it shows option as if it is valid.

To Reproduce

$ ~/.nuget/packages/reportgenerator/4.6.4/tools/netcoreapp3.0/ReportGenerator.exe -reporttypes:Html -targetdir:. -repor
ts:Coverage.xml -title:MyAssembly -assemblyfilter:"+myassembly.dll" 
2020-09-08T09:18:49: Arguments
2020-09-08T09:18:49:  -reporttypes:Html
2020-09-08T09:18:49:  -targetdir:.
2020-09-08T09:18:49:  -reports:Coverage.xml
2020-09-08T09:18:49:  -title:MyAssembly
2020-09-08T09:18:49:  -assemblyfilter:+myassembly.dll
2020-09-08T09:18:50: File 'D:\repos\NUnit\nunit3-vs-adapter\src\NUnitTestAdapter\AdapterSettings.cs' does not exist (any more).
...
@danielpalme
Copy link
Owner

Fixed in 16ca983.
Next release will contain the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants