You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Edgar Dollin <Ed...@BLUE-MOOSE.NET> on 2003/07/25 03:56:56 UTC

Testing Struts-Config

Does anyone know of a tool that just tests the struts-config for 'class
correctness'?

The situation I find myself in is I have a large project, which was heavily
refactored (unfortunately w/o adequate struts tests), and I need to debug
the struts-config.

Thanks in advance.

Edgar

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Testing Struts-Config

Posted by Rob Leland <rl...@apache.org>.
Edgar Dollin wrote:

>Does anyone know of a tool that just tests the struts-config for 'class
>correctness'?
>
>The situation I find myself in is I have a large project, which was heavily
>refactored (unfortunately w/o adequate struts tests), and I need to debug
>the struts-config.
>
This may help you, though I haven't used it:
http://sourceforge.net/projects/strutstestcase/

>
>Thanks in advance.
>
>Edgar
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>  
>


-- 
Rob Leland



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Testing Struts-Config

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Thu, 24 Jul 2003, James Holmes wrote:

> Date: Thu, 24 Jul 2003 23:18:40 -0400
> From: James Holmes <ja...@jamesholmes.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: 'Struts Users Mailing List' <st...@jakarta.apache.org>
> Subject: RE: Testing Struts-Config
>
> If you use Struts Console it will tell you of any problems your config
> file has with respect to validating against the Struts Config DTD.
>
> http://www.jamesholmes.com/struts/
>
> However, Struts Console will not tell you things like the fact that you
> have 2 form beans with the same name.  I have this type of functionality
> on my todo list though.
>

An additional useful test would be whether all the referenced classes
actually exist in your webapp (form beans, actions, ...).  Of course, that
probably ought to be a configurable startup feature for Struts itself.

> -James

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Testing Struts-Config

Posted by James Holmes <ja...@jamesholmes.com>.
If you use Struts Console it will tell you of any problems your config
file has with respect to validating against the Struts Config DTD.

http://www.jamesholmes.com/struts/

However, Struts Console will not tell you things like the fact that you
have 2 form beans with the same name.  I have this type of functionality
on my todo list though.

-James

-----Original Message-----
From: Edgar Dollin [mailto:Edgar@BLUE-MOOSE.NET] 
Sent: Thursday, July 24, 2003 8:57 PM
To: 'struts-user@jakarta.apache.org'
Subject: Testing Struts-Config

Does anyone know of a tool that just tests the struts-config for 'class
correctness'?

The situation I find myself in is I have a large project, which was
heavily
refactored (unfortunately w/o adequate struts tests), and I need to
debug
the struts-config.

Thanks in advance.

Edgar

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org