Different Inspection settings in Production vs. Test.
Hello,
I think it would be nice to have certain inspections silenced in unit-tests. For example inspection Constant conditions & exceptions fires on line like assertEquals(123, foo.nullableMethod()). Although inspection warning is pretty useful in regular code, in unit-tests it only adds noise.
请先登录再写评论。
Please see: http://www.jetbrains.com/idea/webhelp/configuring-inspection-for-different-scopes.html
BTW, in IDEA 14 this UI is being redesigned, so if you use IDEA 14 EAP, this information may turn obsolete after a short time. But the feature will stay anyway, this or that way.
Regards,
Alexander.