| Author |
Junit testing with using Ant build.xml getting failed everything?
|
Prabhat Ranjan
Ranch Hand
Joined: Oct 04, 2006
Posts: 361
|
|
Hi All,
I am using junit test cases and building the project using ant build but i tried a lot its getting failed. don't know why ?
I have reset the classpth and junit lib as well but its again not working anyways.
Build.xml file is below:
Below is the error i am getting in build console":
I have already put the junit-3.8.2.jar file in java/lib dir.
I have used very simple jubit code top test uisng Ant build. As below .and if i remove the junit file or junit code from ant build my build.xml file runs successfully without any issue.
Still its not picking and some other issue i don't know. Tried to look in google but not found the proper root cause and how to fix this issue.
Please suggest some one your thought.
|
 |
Prabhat Ranjan
Ranch Hand
Joined: Oct 04, 2006
Posts: 361
|
|
Issus is resolved now..
I have tried to serach form internet and the actual probelm was classpath junit.jar file name was missing in javac/compile target.
I got the solution.
Below code is working fine now and perfect.
Also you can take help from this link.
http://www.vogella.com/articles/ApacheAnt/article.html
|
 |
 |
|
|
subject: Junit testing with using Ant build.xml getting failed everything?
|
|
|