You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/10/22 09:52:03 UTC

t5: getting started with Testify

Hi,

I'd like to use Testify, any simple sample to get me started? here is
something i wrote, probably somebody can put in what missing here? 


public class AbstractMyTest extends TapestryTest {

    private static final TapestryTester SHARED_TESTER = new
TapestryTester("demo", AppModule.class);

    public AbstractPageTest(TapestryTester tapestryTester) {
        super(SHARED_TESTER);
    }

}


public class MyTest extends AbstractMyTest {

    public MyTest(TapestryTester tapestryTester) {
        super(tapestryTester);
    }

    @Test
    public void testElementIsOnPage() {
        Document page = tester.renderPage("mypage");
    }
}
-- 
View this message in context: http://www.nabble.com/t5%3A-getting-started-with-Testify-tp26005517p26005517.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org