I have wrote a simple test with AbstractIntegrationTestSuite and selenium. 
I run my test with TestNG within eclipse, but I got the folloing message all
the time.

^^^^^^^^^^
Starting Jetty instance on port 9999 (/ mapped to
/Users/stellit/Documents/workspace/ajax-test/src/main/webapp)
[WARN] WebApplicationContext Configuration error on
/Users/stellit/Documents/workspace/ajax-test/src/main/webapp
java.io.FileNotFoundException:
/Users/stellit/Documents/workspace/ajax-test/src/test/conf/webdefault.xml
(No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
^^^^^^^^^^^^^^^
My Test Class looks like this:

~~~~~~~~~~~~~~~~
package org.hamster.loginapp.test.ajax;

import org.apache.tapestry.test.AbstractIntegrationTestSuite;
import org.testng.annotations.Test;

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

         @Test
         public void integration_test() throws Exception {
         open(BASE_URL);
         assertTextPresent("Tapestry");
         }

}
~~~~~~~~~~~~~~~~~~~~~~~~

Why it always finds webdefault.xml? How should I fix this?


regard, 
stellit
-- 
View this message in context: 
http://www.nabble.com/Problem-with-AbstractIntegrationTestSuite-tp16648401p16648401.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to