OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | January 2007 Index

<--  Date Index  --> <--  Thread Index  -->

R: [exoplatform] How can I run unit test?


Thanks,

when I run the maven command I receive the following error

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but
 the build is not using one.
[INFO]
------------------------------------------------------------------------

The source structure is complete

I imagine this problem is related to maven but I don't know maven very well
:-(

-----Messaggio originale-----
Da: hoa pham [mailto:phamvuxuanhoa@xxxxxxxxx] Per conto di Hoa Pham
Inviato: martedì 23 gennaio 2007 12.44
A: Davide Ficano
Cc: exoplatform@xxxxxxxxxxxxx
Oggetto: Re: [exoplatform] How can I run unit test?

Davide Ficano wrote:
> I need to understand how to run a specific unit test (configuration, libs
> dependencies and so on...)
>
> somebody may help me?
>
> thanks in advance
>
>
>   
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>   
Maybe you want to run Junit test to test service?If true,  you can run
it as following step:
1. go to the source folder containt the test.
2. Using command:  mvn test -Dexo.test.skip=false
-Dexo.test.includes=TestFile
example, I have file TestExample.java, I can use:
- mvn test -Dexo.test.skip=false -Dexo.test.includes=TestExample
- mvn test -Dexo.test.skip=false -Dexo.test.includes=TestE*
...
Best regards,

-- 
Hoa Pham
eXoPlatform Viet Nam's Team
Ha Noi, Viet Nam

YM: phamvuxuanhoa
Skype: phamvuxuanhoa






<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.