mercredi 6 septembre 2017

How to 'run maven test' in debug mode in eclipse

I have a maven project with java source code. I use the menu item 'run maven test' to execute the test code. I set a few break points on some of the classes and tried 'debug maven test', but the system did not stop at the break points. Are there any additional configuration steps I have to do in order to run test code in debug mode? I have verified the execution did pass by the lines where the break points were, by adding System.out statements. Also I can debug this project when I run it as a java application. I am using Eclipse Neon, JDK 1.8, if this matter.

Aucun commentaire:

Enregistrer un commentaire