In the inspection tools,

Request 1 : add "Find code ONLY  exercised/use by TestCase"
Request 2 : add "Find code NEVER exercised/use by TestCase"
------------------------------------------


Case 1 :  never used code, but by TestCase
------------------------------------------
After running the inspection code tool, I was confident that there was 
no skeleton left in my code.

Wrong : some methods are only used by tests, and never by production code.
After some refactorings, you don't need it anymore, but the test that 
helped you build it right is still there, and makes it look usefull.

Case 2 : never tested code
--------------------------
Well, it's like above, except that it's only used by non-TestCase

Alain Ravet





_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to