Posted By:
Java_Guy
Posted On:
Thursday, April 1, 2004 07:36 AM
I have a ear file and want to write junit tests for some classes in the ear. the ear file has the following structure: ->ear ----> ejb.jar ----> utils.jar ----> some.jar ----> app-inf ------------> lib/third.jar ----> meta-inf ----------->application.xml Q1) Do i have to have the ear file running inside the container to test it? Q2) I just want to write test case for some standalone classes in utils.jar..but when i run juni ant task with classpath=ear , its gives classnot found, although the uitls.jar is part of the ear? please help. thanks
More>>
I have a ear file and want to write
junit tests
for some classes in the ear.
the ear file has the following structure:
->ear
----> ejb.jar
----> utils.jar
----> some.jar
----> app-inf
------------> lib/third.jar
----> meta-inf
----------->application.xml
Q1) Do i have to have the ear file running inside the container to test it?
Q2) I just want to write test case for some standalone classes in utils.jar..but when i run juni ant task with classpath=ear , its gives classnot found, although the uitls.jar is part of the ear?
please help.
thanks
<<Less