MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
davout
Post subject: junit xml output?  PostPosted: Aug 22, 2011 - 04:11 PM
Registered Member
Registered Member


Joined: Feb 09, 2004
Posts: 120

I'm building some junit tests for one of my projects in MyEclipse 8.6.

Is it possible to have the project/junit code create an XML output file that holds the test results?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Aug 23, 2011 - 06:16 AM



Joined: Nov 11, 2010
Posts: 2148

davout,

JUnit does not have any native XML output format. The format you're
discussing is supplied by Ant. You can use the Ant xml formatter. Take a look at sections 4.6 and 4.7 of this tutorial on how to write JUnit test results to XML files:
http://java.sun.com/developer/Books/javaprogramming/ant/ant_chap04.pdf

I also suggest you crosspost it to JUnit forums for better support.

Hope this helps.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits