Better user feedback on incorrect test method
Brought to you by:
malange
Users less experienced with unit testing may accidentally make test methods non-public or give them a return value instead of void.
Also, with the introduction of parameterized tests there will be more and more variations on how tests might look like.
It would be important to give the user a better feedback if a mistake has been made, e.g. that a method doesn't have a return type of void or if a test method is non-public.