开发者

when using JUNIT 4.8 categories , the report generated does not show the actual class how to overcome this?

开发者 https://www.devze.com 2023-03-08 10:50 出处:网络
i m new to junit and i used testNg before i use junit 4.8 categoreis feature to group my test cases and when i generate the report using test cases it only shows the \"SuiteClass\" that i have used

i m new to junit and i used testNg before

i use junit 4.8 categoreis feature to group my test cases and when i generate the report using test cases it only shows the "SuiteClass" that i have used to run the categorized test cases as the Main class that test methods are written . No actual class that methods actually written are not displayed in the report. this make me to go through all the test classes that i have categorized in a particular category to find the failed test method .

开发者_开发问答isnt there any solution to over come this matter ???

ps: i run test cases by passing the fully quallified name of the SuiteClass to an ant script

thank you

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号