Hi Praveen,
AFAIK there is no Maven command to display dependencies. The simplest way is to consult jwebunit website.
To run your tests from command line using Maven, just write your tests in the JUnit way (but inherit WebTestCase instead TestCase). Put your tests in src/test/java, and type mvn test. You will also need a pom.xml that include jwebunit dependency (see jwebunit site).
That's all.
++
Julien
AFAIK there is no Maven command to display dependencies. The simplest way is to consult jwebunit website.
To run your tests from command line using Maven, just write your tests in the JUnit way (but inherit WebTestCase instead TestCase). Put your tests in src/test/java, and type mvn test. You will also need a pom.xml that include jwebunit dependency (see jwebunit site).
That's all.
++
Julien
----- Message d'origine ----
De : Praveen Kallakuri <[EMAIL PROTECTED]>
À : jwebunit-users <[email protected]>
Envoyé le : Dimanche, 2 Juillet 2006, 7h46mn 44s
Objet : [Jwebunit-users] running tests from commandline
De : Praveen Kallakuri <[EMAIL PROTECTED]>
À : jwebunit-users <[email protected]>
Envoyé le : Dimanche, 2 Juillet 2006, 7h46mn 44s
Objet : [Jwebunit-users] running tests from commandline
hi
this may seem a pretty lame question for the maven gurus. but i am
trying to figure out how i could run tests written in the jwebunit
infrastructure from commandline when the dependencies are all
downloaded using a single maven2.
the maven2 goal for eclipse ensures that all required jars are in the
classpath and eclipse lets the test be run as a junit test with not
much ado.
however, i want to know exactly what jars are needed (ofcourse i can
get these by looking at the .classpath generated by mvn
eclipse:eclipse goal, but i was hoping that perhaps there was a
different goal or even a jwebunit/junit plugin!) and how i can run a
single test from the commandline.
thank you..
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
this may seem a pretty lame question for the maven gurus. but i am
trying to figure out how i could run tests written in the jwebunit
infrastructure from commandline when the dependencies are all
downloaded using a single maven2.
the maven2 goal for eclipse ensures that all required jars are in the
classpath and eclipse lets the test be run as a junit test with not
much ado.
however, i want to know exactly what jars are needed (ofcourse i can
get these by looking at the .classpath generated by mvn
eclipse:eclipse goal, but i was hoping that perhaps there was a
different goal or even a jwebunit/junit plugin!) and how i can run a
single test from the commandline.
thank you..
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Jwebunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
