This is indeed the side effect of using the testing library in a project, it will have to compile all classes to find test cases. I'll keep this bug open as this is something that should be better optimized.