Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Different Inspection settings in Production vs. Test.

$
0
0

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.

Viewing all articles
Browse latest Browse all 5661

Trending Articles