facebook

junit xml output?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #319153 Reply

    davout
    Participant

    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?

    #319174

    support-swapna
    Participant

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: junit xml output?

You must be logged in to post in the forum log in