Hi Paul, Thanks for the reply!
>I know Surefire does some interesting things around picking how to run the >tests. Have you got an explicit JUnit 4 depenency in your pom? Also make >sure you aren't using any TestNG specific things in your Surefire config >(such as suiteXmlFiles). Yes, JUnit 4.1, and I don't use TestNG, so I have no explicit reference to the plugin in my POM. >Other than that, if you could post the results of the dependency:tree >goal, that might help. Okay, here is my tree: [INFO] [dependency:tree] [INFO] com.albourne.web:webframework:jar:5.11-SNAPSHOT [INFO] +- com.formos.tapestry:tapestry-testify:jar:1.0.0-SNAPSHOT:test [INFO] | \- org.apache.tapestry:tapestry-test:jar:5.1.0.5:test [INFO] | \- org.testng:testng:jar:jdk15:5.8:test [INFO] +- HFDB:hfdb:jar:5.11-SNAPSHOT:compile [INFO] | +- commons:commons-httpclient:jar:2.0.2:compile [INFO] | +- db4o:db4o-java5:jar:6.1.604:compile [INFO] | +- editlivejava:editlivejava:jar:6.5.4.29:compile [INFO] | \- HFDB:hfdb-widgets:jar:5.11-SNAPSHOT:compile [INFO] | +- jgoodies:forms:jar:1.2.1:compile [INFO] | +- jgoodies:looks:jar:2.2.0:compile [INFO] | +- jxlayer:jxlayer:jar:3.0:compile [INFO] | +- HFDB:hfdb-report:jar:5.11-SNAPSHOT:compile [INFO] | | \- HFDB:hfdb-model:jar:5.11-SNAPSHOT:compile [INFO] | | +- jxl:jxl:jar:2.6.8.4:compile [INFO] | | +- swingx:swingx:jar:2007.9.16:compile [INFO] | | +- antlr:antlr:jar:2.7.7:compile [INFO] | | +- stringtemplate:stringtemplate:jar:3.2:compile [INFO] | | \- HFDB:hfdb-db:jar:5.11-SNAPSHOT:compile [INFO] | | +- commons:commons-dbcp:jar:1.2.2:compile [INFO] | | +- commons:commons-pool:jar:1.3:compile [INFO] | | +- jcommon:jcommon:jar:1.0.12:compile [INFO] | | +- jfreechart:jfreechart:jar:1.0.11:compile [INFO] | | +- postgresql:postgresql-jdbc2:jar:8.3.603:compile [INFO] | | +- xmlrpc:xmlrpc:jar:1.1:compile [INFO] | | +- xmlrpc:simple:jar:4.0.1:compile [INFO] | | +- xmlrpc:simple-xmlrpc:jar:1.0:compile [INFO] | | \- HFDB:hfdb-utils:jar:5.11-SNAPSHOT:compile [INFO] | | +- commons-io:commons-io:jar:1.3:compile [INFO] | | +- commons-lang:commons-lang:jar:2.3:compile [INFO] | | +- ipworks:ipworks:jar:8.0.3383:compile [INFO] | | +- apache:apache-mime4j:jar:0.3.1:compile [INFO] | | +- jama:jama:jar:1.0.2:compile [INFO] | | +- bouncycastle:bcprov:jar:1.40:compile [INFO] | | +- bouncycastle:bcmail:jar:1.40:compile [INFO] | | +- itext:itext-hyph-xml:jar:1.0:compile [INFO] | | +- itext:itext:jar:2.1.3.p:compile [INFO] | | +- tidy:tidy:jar:1.0:compile [INFO] | | +- jgoodies:binding:jar:2.0.6:compile [INFO] | | +- jgoodies:validation:jar:2.0.1:compile [INFO] | | +- mailapi:mailapi:jar:1.4:compile [INFO] | | +- jutf7:jutf7:jar:1.0.0:compile [INFO] | | +- commons-logging:commons-logging:jar:1.0.4:compile [INFO] | | \- HFDB:hfdb-properties:jar:5.11-SNAPSHOT:compile [INFO] | \- HFDB:hfdb-resources:jar:5.11-SNAPSHOT:compile [INFO] +- org.apache.tapestry:tapestry-core:jar:5.1.0.5:compile [INFO] | +- org.apache.tapestry:tapestry-ioc:jar:5.1.0.5:compile [INFO] | | +- org.apache.tapestry:tapestry5-annotations:jar:5.1.0.5:compile [INFO] | | +- javassist:javassist:jar:3.9.0.GA:compile [INFO] | | +- org.slf4j:slf4j-api:jar:1.5.2:compile [INFO] | | \- org.slf4j:slf4j-log4j12:jar:1.5.2:compile [INFO] | +- commons-codec:commons-codec:jar:1.3:compile [INFO] | +- org.antlr:antlr-runtime:jar:3.1.1:compile [INFO] | \- org.codehaus.woodstox:woodstox-core-asl:jar:4.0.3:compile [INFO] | +- stax:stax-api:jar:1.0.1:compile [INFO] | \- org.codehaus.woodstox:stax2-api:jar:3.0.1:compile [INFO] +- log4j:log4j:jar:1.2.14:compile [INFO] +- junit:junit:jar:4.1:compile [INFO] +- org.mockito:mockito-all:jar:1.8.0-rc2:compile [INFO] +- easymock:easymock2:jar:2.4:test [INFO] +- javax.servlet:servlet-api:jar:2.5:compile [INFO] +- org.directwebremoting:dwr:jar:3.0rc1:compile [INFO] \- javax.mail:mail:jar:1.4.1:compile [INFO] \- javax.activation:activation:jar:1.1:compile Kind regards, Peter ----- Original Message ----- From: "Paul Field" <paul.fi...@db.com> To: "Tapestry users" <users@tapestry.apache.org> Cc: "Tapestry users" <users@tapestry.apache.org> Sent: Thursday, 9 July, 2009 16:10:11 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: [Announce] Tapestry Testify project Hi Peter, > I suspect that Testify is sourcing in JUnit 3.8.1 and TestNG and > trying to run my tests with those, and as I have no reference to > either in my project I am guessing they come fro Testify... take a > look at this debug output: You might find it useful to use the Maven "dependency:tree" goal which will show you all your projects dependencies and the transitive dependencies. I can't see that Testify would cause TestNG or JUnit to be pulled into your project (I'm prepared to be wrong though :-) ). I know Surefire does some interesting things around picking how to run the tests. Have you got an explicit JUnit 4 depenency in your pom? Also make sure you aren't using any TestNG specific things in your Surefire config (such as suiteXmlFiles). Other than that, if you could post the results of the dependency:tree goal, that might help. -- Paul --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org