Thank you very much Ringo.

My tests was named ATests.java.

I've renamed it in ATest.java, and now it works.

Best regards, buters


De Smet Ringo wrote:
> 
> 
>> -----Original Message-----
>> From: buters [mailto:[EMAIL PROTECTED] 
>> Sent: maandag 30 juni 2008 15:04
>> To: users@maven.apache.org
>> Subject: RE: There are no tests to run
>> 
>> 
>> I use m2eclipse and I create Maven projects direct in 
>> eclipse. Also folder structure must be ok. (src/test/java)
> 
> Seems fine. What about the class naming of your test classes?
> 
> This is what I got from the Getting Started Guide on running unit tests:
> 
> -- start snippet from the docs --
> Note that the surefire plugin (which executes the test) looks for tests
> contained in files with a particular naming convention. By default the
> tests included are:
> 
>     * **/*Test.java
>     * **/Test*.java
>     * **/*TestCase.java
> 
> And the default excludes are:
> 
>     * **/Abstract*Test.java
>     * **/Abstract*TestCase.java
> -- end snippet from the docs --
> 
> Complete docs at
> http://maven.apache.org/guides/getting-started/index.html#How_do_I_compi
> le_my_test_sources_and_run_my_unit_tests
> 
> Ringo
> *************************************************************
> 
> Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie
> bevatten die vertrouwelijk is en/of beschermd door intellectuele
> eigendomsrechten. Dit bericht is uitsluitend bestemd voor de
> geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht
> (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder
> elke vorm) door andere personen dan de geadresseerde(n) is verboden.
> Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender
> hiervan te verwittigen en dit bericht te verwijderen. 
> 
> This e-mail and any attachment thereto may contain information which is
> confidential and/or protected by intellectual property rights and are
> intended for the sole use of the addressees. Any use of the information
> contained herein (including but not limited to total or partial
> reproduction or distribution in any form) by other persons than the
> addressees is prohibited. If you have received this e-mail in error,
> please notify the sender and delete its contents.
> 
> Ce courriel et les annexes éventuelles peuvent contenir des informations
> confidentielles et/ou protégées par des droits de propriété
> intellectuelle. Ce message est adressé exclusivement à son (ses)
> destinataire(s). Toute utilisation du contenu de ce message (y compris la
> reproduction ou diffusion partielle ou complète sous toute forme) par une
> autre personne que le(s) destinataire(s) est formellement interdite. Si
> vous avez reçu ce message par erreur, veuillez prévenir l'expéditeur du
> message et en détruire le contenu.
> 
> *************************************************************
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/RE%3A-There-are-no-tests-to-run-tp18194586p18196367.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to