阅读背景:

用xml自动生成JUnit结果的最佳方式是什么?

来源:互联网 

I am currently writing a series of tests in JUnit. I need to automatically export the results as XML. I was reading that the best way of doing this is by extending the RunListener class and writing the XML that way. Below is a sample of what I have done so far, but I am struggling with how to extract information on each test that has been run. The 'Description' class doesn't seem to have any useful get methods and I feel like I am maybe going about this the wrong way. I am currently writing a series of tests in JUn




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: