Detecting methods only used in tests

While the finding unused methods is quite easy with R#, we came across a
problem where we have methods that are only called from tests, but have
no use for the productive code anymore. This happens when a
functionality is removed and the unit tests are not updated at the same

Even though it is the developers fault, this should be "fairly easy" to
detect as R# knows what a Unit Test is and what it does call. This would
really help during refactorings.

Does this make sense?

Many Thanks,

1 comment

Hello Philip,

  There is a similar ticket in YouTrack



Please sign in to leave a comment.