문제

My doubt it's simple, when I'm executing JUnit test's directly from eclipse, surefire report isn't gerenated, even the folders (target/surefire/surefire-report) aren't generated but when I'm executing from cmd(mvn test) all reports or prints are generated.

도움이 되었습니까?

해결책

I am assuming you use "run as -> Junit Test", which only runs the Junit testt themselves, without using surefire. If you rightclick on the project and choose "run as -> maven test" it would have the same effect as running mvn test from the commandline, i.e. your result (not reports) would be generated.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top