Bill 2 quick questions: 1)are your tests located in src/test/java folder? 2)is each Testcase declared public and does each TestCase extend junit.framework.TestCase?
Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: Re: Running tests from a maven test-jar > From: [email protected] > Date: Fri, 10 Aug 2012 11:55:03 -0600 > To: [email protected] > > Agreed that is exactly what i am doing , but that will not actually run that > suite of unit tests against my code. It just pulls it in as a dependency. > > Again is the link I provided the best way to pull in a test-jar and actually > run its tests against another artifact? > > Thanks again! > > Sent from my iPhone > > On Aug 10, 2012, at 10:57 AM, Ansgar Konermann > <[email protected]> wrote: > > > Found this in the docs: > > > > http://maven.apache.org/guides/mini/guide-attached-tests.html > > > > HTH > > > > Ansgar > > Am 10.08.2012 18:36 schrieb "Billy Newman" <[email protected]>: > > > >> I have a test jar out there that test some main functionality of an api. I > >> would like to run that suite of tests for all my impl artifacts. > >> > >> I have deployed it as a test-jar and I have the dependency setup for my > >> impl project to depend on that test-jar. However this just pull the jar in > >> at 'test' time it does not execute the tests. > >> > >> I found this post from a while back: > >> > >> http://softwaremavens.blogspot.com/2009/09/running-tests-from-maven-test-jar-in.html > >> > >> Wondering if this is still the accepted/right way to do what I want. > >> > >> Thanks > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
