Re: StrutsTestCases

2006-04-28 Thread Chaitanya Parkhi
; run the following code i m getting following failures: > > > > > > > > 1.junit.framework.AssertionFailedError: The /WEB-INF/web.xml was not > > > found. > > > > 2.junit.framework.AssertionFailedError: No tests found in > &

Re: StrutsTestCases

2006-04-28 Thread ichy
mework.AssertionFailedError: The /WEB-INF/web.xml was not > > found. > > > 2.junit.framework.AssertionFailedError: No tests found in > > > servletunit.struts.MockStrutsTestCase > > > > > > can anybody plz tell me whats a problem? is ther anyth

Re: StrutsTestCases

2006-04-28 Thread Chaitanya Parkhi
edError: The /WEB-INF/web.xml was not > found. > > 2.junit.framework.AssertionFailedError: No tests found in > > servletunit.struts.MockStrutsTestCase > > > > can anybody plz tell me whats a problem? is ther anything reqd to write > in > > web.xml for StrutstestCases? > >

Re: StrutsTestCases

2006-04-27 Thread Chaitanya Parkhi
edError: The /WEB-INF/web.xml was not > found. > > 2.junit.framework.AssertionFailedError: No tests found in > > servletunit.struts.MockStrutsTestCase > > > > can anybody plz tell me whats a problem? is ther anything reqd to write > in > > web.xml for StrutstestCases? > >

Re: StrutsTestCases

2006-04-27 Thread Ed Griebel
nit.framework.AssertionFailedError: The /WEB-INF/web.xml was not found. > 2.junit.framework.AssertionFailedError: No tests found in > servletunit.struts.MockStrutsTestCase > > can anybody plz tell me whats a problem? is ther anything reqd to write in > web.xml

StrutsTestCases

2006-04-27 Thread Chaitanya Parkhi
.junit.framework.AssertionFailedError: The /WEB-INF/web.xml was not found. 2.junit.framework.AssertionFailedError: No tests found in servletunit.struts.MockStrutsTestCase can anybody plz tell me whats a problem? is ther anything reqd to write in web.xml for StrutstestCases? import

RE: StrutsTestCases

2006-04-24 Thread Anuradha S.Athreya
U need to set the contect path of ur application: setContextDirectory(new File(Your_Application_ContextPath)); -Original Message- From: Phil Zoio [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 3:39 PM To: Struts Users Mailing List Subject: Re: StrutsTestCases You should be able

Re: StrutsTestCases

2006-04-24 Thread Phil Zoio
You should be able to solve the problem by adding the WEB-INF directory onto your classpath. I couldn't get it to work otherwise Chaitanya Parkhi wrote: hi guys i hav created a java file by using MockObjectStrutsTestCases which tests for a simple login form which takes Login Name & password as

Re: StrutsTestCases

2006-04-24 Thread Li
A web application that is packed as a war file and deployed to Tomcat or JBoss can work properly without having web.xml. Since you are using struts and jsp. You need tell the server what is the servlet parser as well as someother info. So make sure there is a "VALID" web.xml in your application fol

StrutsTestCases

2006-04-24 Thread Chaitanya Parkhi
hi guys i hav created a java file by using MockObjectStrutsTestCases which tests for a simple login form which takes Login Name & password as a input.in this file i hav following method public void testSuccessfulLogin() { setConfigFile("/WEB-INF/struts-config.xml"); setRequestPat

StrutsTestCases

2006-04-24 Thread Chaitanya Parkhi
hi guys i hav created a java file by using MockObjectStrutsTestCases which tests for a simple login form which takes Login Name & password as a input.in this file i hav following method public void testSuccessfulLogin() { setConfigFile("/WEB-INF/struts-config.xml"); setRequestPat