P.Stavrinides@... wrote on 24/06/2009 15:35:00:
> I seem to be too stupid to get testify working with JUnit 4, I can't
> get even past the gate:
I prefer to see it as a failure of my documentation :-)
First thing, the Testify sources are published to the Maven repository, so
you can pick them up manually from:
http://tapestry.formos.com/maven-snapshot-repository/com/formos/tapestry/tapestry-testify/1.0.0-SNAPSHOT/Or just ask Maven to download them for you:
mvn [goal] -DdownloadSources=true
(The m2eclipse plugin for eclipse can download them and bind them to the
jar for you, which makes life very pleasant).
Next, I think my documentation is misleading you... try:
private static final TapestryTester SHARED_TESTER = new
TapestryTester("demo");
The documentation's example with "MyCoreModule.class" is meant to show you
how to include your own "core" IOC module
(see:
http://tapestry.formos.com/nightly/tapestry-testify/#Integration_testing
).
Alternatively, you might need to include your AppModule as the parameter -
if you do then read the link above about integration testing
and break up your AppModule.
Let me know how you get on!
Paul
------------------
Paul Field
Research IT
Deutsche Bank
---
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.