cushon / issues-import

0 stars 0 forks source link

Maven: No way to run error-prone checks against test code #191

Closed cushon closed 9 years ago

cushon commented 9 years ago

Original issue created by NIkita.Makarov on 2013-09-16 at 05:08 AM


I've not found way to run error-prone checks against test code (placed in src/test/java/)/ Is it already implemented ?

cushon commented 9 years ago

Original comment posted by laurent.malvert on 2013-09-23 at 09:40 PM


Are you sure? I tried error-prone at work this morning and it did yield errors on some of my test classes.

cushon commented 9 years ago

Original comment posted by NIkita.Makarov on 2013-09-24 at 07:08 AM


How to add directories with test in checking soope ????

cushon commented 9 years ago

Original comment posted by moradan228 on 2013-09-26 at 01:24 PM


Are you sure that you are compiling tests at all?

E.g. in maven "mvn clean compile" will not compile test clases and therefore there will be no errors, but "mvn clean compile test-compile" will show appropriate errors in test classes.

cushon commented 9 years ago

Original comment posted by aeagle22206 on 2013-10-07 at 12:18 AM


Sounds like this isn't reproducible. Please re-open if you still see the problem.


Status: Invalid