Hello, you most read the output windows.

maven is a java tool to build automation (see
http://en.wikipedia.org/wiki/Apache_Maven ) this , compile, and then
execute units test (make more) .

your problem is in the unit test . read that  ( i continue below)


> Results :
>
> Tests in error:
>  testSearch(com.mycompany.app.webapp.action.PersonActionTest)
>  testEdit(com.mycompany.app.webapp.action.PersonActionTest)
>  testSave(com.mycompany.app.webapp.action.PersonActionTest)
>  testRemove(com.mycompany.app.webapp.action.PersonActionTest)
>
> Tests run: 68, Failures: 0, Errors: 4, Skipped: 0
>
> [ERROR]
>
> Mojo:
>
>    org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test
>
> FAILED for project:
>
>    com.mycompany.app:maven_demo:war:1.0-SNAPSHOT
>
> Reason:
>
> There are test failures.
>
> Please refer to E:\Green Sun\Projects\maven_demo\target\surefire-reports for
> the
>  individual test results.
>
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run with the -e flag
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 22 seconds
> [INFO] Finished at: Fri Apr 10 14:32:14 ICT 2009
> [INFO] Final Memory: 6M/35M
> [INFO]




 Tests run: 68, Failures: 0, Errors: 4, Skipped: 0

4 error, and see  E:\Green Sun\Projects\maven_demo\target\surefire-reports

surefire-reports are the logs files,

else, you can run the units test in Eclipse, (or another ide) and can
put breakpoints, and others

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to