You can view the stack taces from tests by using "mvn
-Dsurefire.useFile=false". To skip tests, you can pass in -DskipTests.

http://maven.apache.org/plugins/maven-surefire-plugin/

Matt

On 3/12/08, Preetkanwal_Singh <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi all,
>
>
>
>                 Thanks for your earlier support.
>
>
>
> Am running mvn jetty:run-war and getting this test error.
>
>
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
> DEBUG [main] SignupActionTest.endTransaction(360) | Rolled back transaction
> after execution of test [testDisplayForm].
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
>
>
>
> Results :
>
>
>
> Tests in error:
>
>
> testColumnMapping(com.satyam.GMS.dao.hibernate.HibernateConfigurationTest)
>
>
>
> Tests run: 67, Failures: 0, Errors: 1, Skipped: 0
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] There are test failures.
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 25 seconds
>
> [INFO] Finished at: Thu Mar 13 11:46:51 IST 2008
>
> [INFO] Final Memory: 18M/32M
>
> [INFO]
> ------------------------------------------------------------------------
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
>
>
> Any ideas???
>
>
>
> Secondly, Do we have any command which skips the test cases while running
> Jetty?? Or can we skip/delete all the test cases if we don't want?? In that
> case what command we should run??
>
>
>
> Will Really appreciate your inputs.
>
>
>
>
>
> ? Thanks & Regards
>   Preet Kanwal Singh
>
>
>
> P Think about the environment before you print…!!!     "Spread environmental
> awareness".
>
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated..

Reply via email to