One of the most useful Resharper code analysis tools is to mark characters that are not used, if not used, if they are found in the solution.
Unfortunately, any character that is covered by unit tests is considered used.
=> I am looking for a way to ignore unit tests for this usage analysis.
Scanning through Resharper options I found a button that says "Edit items for skips." It contains a long description text, which, among other things, says: "... if a certain character in a solution is used only in files that you skip, that character will be highlighted as never before."
It sounded as wanted. But, placing the unit test project in the skip-list, not only detects any effectively unused character, it disables all code analysis for the test project. Of course, I still want to write good unit test code and, thus, use all the functions of Resharper code analysis. I just don't want to consider using characters outside of the test project.
Any ideas?
source
share