Method X is never used for unit test methods when not using JetBrains.Annotations
I recently introduced jetbrains annotations in our solution (and get bitten constantly by RSRP-183377 ).
Anyhow, after imported the annotations to an own cs-file via "Copy default implementation to clipboard", I de-selected "JetBrains.Annotations" and select our custom namespace instead.
However when not having "JetBrains.Annotations" checked, all test methods ends up as "Method X is never used". Shouldn't this be part of the "default implementation" or should one always select the "JetBrains.Annotations" in addition to the one created via the "default implementation"?
Thanks.
Please sign in to leave a comment.
Hello,
This certainly looks like a bug, but I couldn't replicate this behavior on
a small example. Could you please attach a small sample solution and a screenshot
of ReSharper | Options | Code Inspection | Code Annotations? Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Attaching repro solution and screenshots as requested.
Attachment(s):
settings.png
fixtureMethod.png
annotations.png
RSTest.rar.zip
Hello,
Thank you! I've created a bug-report: http://youtrack.jetbrains.net/issue/RSRP-198576
and we will do our best to fix it.
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"