| Author |
java.lang.classnotfoundexception in junit report
|
srinivas Doni
Greenhorn
Joined: Jun 02, 2011
Posts: 23
|
|
Hi to all,
I am getting error
while i am
generating a junit report with ant script. but, junit test cases are being executed successfully when i run independently(not with ant script).
I have written ant script like this,
if any one is familiar about junit report with ant, can help to solve this problem
With Regards,
srini
|
 |
N Sahni
Ranch Hand
Joined: Jul 07, 2011
Posts: 55
|
|
You need to provide compiled junit class files to <junit> task.
Try modifying line no: 42 with below code sample:
Inclusion of classes.dir is important, as this is the location where compiled junit class files are going.
|
Thanks and Regards,
Nilesh Sahni | nsahni@infocepts.com | www.infocepts.com
|
 |
srinivas Doni
Greenhorn
Joined: Jun 02, 2011
Posts: 23
|
|
Hi Nilesh Sahni,
Thanks for helping me to fix this error.
Thanks & Regards,
srini
|
 |
 |
|
|
subject: java.lang.classnotfoundexception in junit report
|
|
|