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 2007/12/21 10:15:47 UTC

T5: Tapestry-Test

Hi,

I am trying out this Tapestry-Test, here is my simple test:
public class MyTest2 extends AbstractIntegrationTestSuite {

public class MyTest2 extends AbstractIntegrationTestSuite {
    public MyTest2() {
        super("src/main/webapp");     
    }

    @Test
    public void test() {
      open(BASE_URL);
    }
}

and I got this error:
WebApplicationContext Configuration error on src/main/webapp
java.io.FileNotFoundException:
/Users/justinchua/bfe/myapp/src/test/conf/webdefault.xml (No such file or
directory)

what I'm missing here? thanks.

A.C.
-- 
View this message in context: http://www.nabble.com/T5%3A-Tapestry-Test-tp14452455p14452455.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


RE: T5: Tapestry-Test

Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Joel,

Thanks, your tip did the job, it works. now I'd like to ask, any advantages
of using Tapestry-Test compared to, we just do the regular selenium remote
control test?

A.C.



Joel Wiegman-2 wrote:
> 
> Seriously?
> 
> Google "webdefault.xml"
> 
> Put one in your /Users/justinchua/bfe/myapp/src/test/conf/ folder.
> 
> :-)
> 
> 

-- 
View this message in context: http://www.nabble.com/T5%3A-Tapestry-Test-tp14452455p14456940.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


RE: T5: Tapestry-Test

Posted by Joel Wiegman <Jo...@dswinc.com>.
Seriously?

Google "webdefault.xml"

Put one in your /Users/justinchua/bfe/myapp/src/test/conf/ folder.

:-)

-----Original Message-----
From: Angelo Chen [mailto:angelochen960@yahoo.com.hk] 
Sent: Friday, December 21, 2007 4:16 AM
To: users@tapestry.apache.org
Subject: T5: Tapestry-Test


Hi,

I am trying out this Tapestry-Test, here is my simple test:
public class MyTest2 extends AbstractIntegrationTestSuite {

public class MyTest2 extends AbstractIntegrationTestSuite {
    public MyTest2() {
        super("src/main/webapp");     
    }

    @Test
    public void test() {
      open(BASE_URL);
    }
}

and I got this error:
WebApplicationContext Configuration error on src/main/webapp
java.io.FileNotFoundException:
/Users/justinchua/bfe/myapp/src/test/conf/webdefault.xml (No such file
or
directory)

what I'm missing here? thanks.

A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Tapestry-Test-tp14452455p14452455.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


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