I've used Testify with no real problems. I tried your line of initialization code and it worked for me. I've done no special configuration, just righ-clicked on my tet class and Debug as TestNG Test.
The exception says it's looking for a file src/main/webapp/css/grid.css. On Tue, Jun 8, 2010 at 6:26 PM, Dongmei Cao <dongmei....@icann.org> wrote: > I’m trying to use Testify to do unit testing. But it can not locate the css > files in the @IncludeStylesheet annotation. It works fine if I use <link>. I > have specified the context root when initializing the TapestryTester, such > as, > private static final TapestryTester SHARED_TESTER = > new TapestryTester("org.blah.foo", "App", "src/main/webapp", > DemoModule.class); > > Caused by: java.lang.RuntimeException: Unable to locate asset > 'context:css/grid.css' (the file does not exist). > > Anything needs to be configured in order for it to work?? >