You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Glenn Nielsen <gl...@voyager.apg.more.net> on 2000/08/15 16:44:44 UTC

[Proposal] Remove Tomcat Golden test and Ant requirement from tomcat distribution and CVS

I was looking at the Golden test code and wondering if this could be
removed now that we have watchdog.  This would clean up the distribution
and remove the requirement to include Ant with Tomcat.

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Re: [Proposal] Remove Tomcat Golden test and Ant requirement from tomcat distribution and CVS

Posted by Craig McClanahan <Cr...@eng.sun.com>.
Costin Manolache wrote:

> Ant is useful anyway, it can also be used for simple setup tasks
> and to build webapps.
>
> The "local" tomcat test is different than watchdog - all watchdog
> tests are generic, while local tests can be specific to tomcat
> and test tomcat features. ( I don't think this is the case )
>
> The "golden" files are not the best idea - at least most of the
> test cases can be dealt with using <GTest> and testing for
> specific strings in the response. I'm +1 on removing
> most of the golden files if someone can move the functionality
> in the test.xml file.
>
> Some golden files are needed ( to test simple cases like
> binary download, etc)
>
> Costin
>

I agree with Costin's reasoning.  The test app should be focused on testing
Tomcat-specific things, while Watchdog is only concerned with spec
compliance.  If we implement tests with the GTest task (which is a good
idea), Ant will be required to be included.

Craig



Re: [Proposal] Remove Tomcat Golden test and Ant requirement from tomcat distribution and CVS

Posted by Shawn McMurdo <sh...@lutris.com>.
I support this.
Just because something is useful doesn't mean it needs to be included
in the base distribution.
At least having a separate directory maintains some clean
separation between Tomcat and the tests.
Shawn

Glenn Nielsen wrote:

> If the ability to test tomcat specific features is still needed then
> I propose that a separate directory be created in the distribution
> called test or utils where ant.jar and a test.jar can be put along with any
> other test related or setup files.
>
> Ant is very useful, but is it required for Tomcat while it is runing?
> Why add yet another jar file to tomcats CLASSPATH that isn't needed
> for production use.
>
> Glenn
>
> Costin Manolache wrote:
> >
> > Ant is useful anyway, it can also be used for simple setup tasks
> > and to build webapps.
> >
> > The "local" tomcat test is different than watchdog - all watchdog
> > tests are generic, while local tests can be specific to tomcat
> > and test tomcat features. ( I don't think this is the case )
> >
> > The "golden" files are not the best idea - at least most of the
> > test cases can be dealt with using <GTest> and testing for
> > specific strings in the response. I'm +1 on removing
> > most of the golden files if someone can move the functionality
> > in the test.xml file.
> >
> > Some golden files are needed ( to test simple cases like
> > binary download, etc)
> >
> > Costin
> >
> > Glenn Nielsen wrote:
> >
> > > I was looking at the Golden test code and wondering if this could be
> > > removed now that we have watchdog.  This would clean up the distribution
> > > and remove the requirement to include Ant with Tomcat.
> > >
> > > Glenn
> > >
> > > ----------------------------------------------------------------------
> > > Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> > > MOREnet System Programming               |  * if iz ina coment.      |
> > > Missouri Research and Education Network  |  */                       |
> > > ----------------------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
> --
> ----------------------------------------------------------------------
> Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> MOREnet System Programming               |  * if iz ina coment.      |
> Missouri Research and Education Network  |  */                       |
> ----------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

--
Shawn McMurdo              mailto:shawn@lutris.com
Lutris Technologies        http://www.lutris.com
Enhydra.Org                http://www.enhydra.org



Re: [Proposal] Remove Tomcat Golden test and Ant requirement fromtomcat distribution and CVS

Posted by cm...@yahoo.com.
> Sounds good.  I've seen several +1's for this.  You hinted that
> you would take care of this in a few weeks?  If so, great.


Cleaning up classpath - yes, it's on my todo list. 
I have few ideas, it's a matter of time.

I can also change build.xml to not add the tests to the dist.

Costin


Re: [Proposal] Remove Tomcat Golden test and Ant requirement fromtomcat distribution and CVS

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
Sounds good.  I've seen several +1's for this.  You hinted that
you would take care of this in a few weeks?  If so, great.

Glenn

cmanolache@yahoo.com wrote:
> 
> Glenn,
> 
> I think you are right about cleaning CLASSPATH and include only the
> minimal.
> 
> Ant is very important and must be included - it is needed to build webapps
> and it will be used for other tasks ( patching tomcat - sort of
> autoupdate, deployment, etc). At least I have a lot of projects and
> enhancements I want to do that require ant ( too bad I don't have the
> time).
> 
> I'm +1 on not including the tests in the standard distribution, and
> removing ant from classpath ( maybe in 1 week or 2, I have few ideas that
> will help a lot on this and we still need to do some classloader tricks in
> tomcat that are related )
> 
> Costin
> 
> 
> On Tue, 15 Aug 2000, Glenn Nielsen wrote:
> 
> > If the ability to test tomcat specific features is still needed then
> > I propose that a separate directory be created in the distribution
> > called test or utils where ant.jar and a test.jar can be put along with any
> > other test related or setup files.
> >
> > Ant is very useful, but is it required for Tomcat while it is runing?
> > Why add yet another jar file to tomcats CLASSPATH that isn't needed
> > for production use.
> >
> > Glenn
> >
> > Costin Manolache wrote:
> > >
> > > Ant is useful anyway, it can also be used for simple setup tasks
> > > and to build webapps.
> > >
> > > The "local" tomcat test is different than watchdog - all watchdog
> > > tests are generic, while local tests can be specific to tomcat
> > > and test tomcat features. ( I don't think this is the case )
> > >
> > > The "golden" files are not the best idea - at least most of the
> > > test cases can be dealt with using <GTest> and testing for
> > > specific strings in the response. I'm +1 on removing
> > > most of the golden files if someone can move the functionality
> > > in the test.xml file.
> > >
> > > Some golden files are needed ( to test simple cases like
> > > binary download, etc)
> > >
> > > Costin
> > >
> > > Glenn Nielsen wrote:
> > >
> > > > I was looking at the Golden test code and wondering if this could be
> > > > removed now that we have watchdog.  This would clean up the distribution
> > > > and remove the requirement to include Ant with Tomcat.
> > > >

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Re: [Proposal] Remove Tomcat Golden test and Ant requirement from tomcat distribution and CVS

Posted by cm...@yahoo.com.
Glenn,

I think you are right about cleaning CLASSPATH and include only the
minimal.

Ant is very important and must be included - it is needed to build webapps
and it will be used for other tasks ( patching tomcat - sort of
autoupdate, deployment, etc). At least I have a lot of projects and
enhancements I want to do that require ant ( too bad I don't have the
time). 

I'm +1 on not including the tests in the standard distribution, and
removing ant from classpath ( maybe in 1 week or 2, I have few ideas that
will help a lot on this and we still need to do some classloader tricks in
tomcat that are related )

Costin
 

On Tue, 15 Aug 2000, Glenn Nielsen wrote:

> If the ability to test tomcat specific features is still needed then
> I propose that a separate directory be created in the distribution
> called test or utils where ant.jar and a test.jar can be put along with any
> other test related or setup files.
> 
> Ant is very useful, but is it required for Tomcat while it is runing?
> Why add yet another jar file to tomcats CLASSPATH that isn't needed
> for production use.
> 
> Glenn
> 
> Costin Manolache wrote:
> > 
> > Ant is useful anyway, it can also be used for simple setup tasks
> > and to build webapps.
> > 
> > The "local" tomcat test is different than watchdog - all watchdog
> > tests are generic, while local tests can be specific to tomcat
> > and test tomcat features. ( I don't think this is the case )
> > 
> > The "golden" files are not the best idea - at least most of the
> > test cases can be dealt with using <GTest> and testing for
> > specific strings in the response. I'm +1 on removing
> > most of the golden files if someone can move the functionality
> > in the test.xml file.
> > 
> > Some golden files are needed ( to test simple cases like
> > binary download, etc)
> > 
> > Costin
> > 
> > Glenn Nielsen wrote:
> > 
> > > I was looking at the Golden test code and wondering if this could be
> > > removed now that we have watchdog.  This would clean up the distribution
> > > and remove the requirement to include Ant with Tomcat.
> > >
> > > Glenn
> > >
> > > ----------------------------------------------------------------------
> > > Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> > > MOREnet System Programming               |  * if iz ina coment.      |
> > > Missouri Research and Education Network  |  */                       |
> > > ----------------------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> -- 
> ----------------------------------------------------------------------
> Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> MOREnet System Programming               |  * if iz ina coment.      |
> Missouri Research and Education Network  |  */                       |
> ----------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


Re: [Proposal] Remove Tomcat Golden test and Ant requirement from tomcat distribution and CVS

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
If the ability to test tomcat specific features is still needed then
I propose that a separate directory be created in the distribution
called test or utils where ant.jar and a test.jar can be put along with any
other test related or setup files.

Ant is very useful, but is it required for Tomcat while it is runing?
Why add yet another jar file to tomcats CLASSPATH that isn't needed
for production use.

Glenn

Costin Manolache wrote:
> 
> Ant is useful anyway, it can also be used for simple setup tasks
> and to build webapps.
> 
> The "local" tomcat test is different than watchdog - all watchdog
> tests are generic, while local tests can be specific to tomcat
> and test tomcat features. ( I don't think this is the case )
> 
> The "golden" files are not the best idea - at least most of the
> test cases can be dealt with using <GTest> and testing for
> specific strings in the response. I'm +1 on removing
> most of the golden files if someone can move the functionality
> in the test.xml file.
> 
> Some golden files are needed ( to test simple cases like
> binary download, etc)
> 
> Costin
> 
> Glenn Nielsen wrote:
> 
> > I was looking at the Golden test code and wondering if this could be
> > removed now that we have watchdog.  This would clean up the distribution
> > and remove the requirement to include Ant with Tomcat.
> >
> > Glenn
> >
> > ----------------------------------------------------------------------
> > Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> > MOREnet System Programming               |  * if iz ina coment.      |
> > Missouri Research and Education Network  |  */                       |
> > ----------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Re: [Proposal] Remove Tomcat Golden test and Ant requirement from tomcat distribution and CVS

Posted by Costin Manolache <co...@eng.sun.com>.
Ant is useful anyway, it can also be used for simple setup tasks
and to build webapps.

The "local" tomcat test is different than watchdog - all watchdog
tests are generic, while local tests can be specific to tomcat
and test tomcat features. ( I don't think this is the case )

The "golden" files are not the best idea - at least most of the
test cases can be dealt with using <GTest> and testing for
specific strings in the response. I'm +1 on removing
most of the golden files if someone can move the functionality
in the test.xml file.

Some golden files are needed ( to test simple cases like
binary download, etc)

Costin

Glenn Nielsen wrote:

> I was looking at the Golden test code and wondering if this could be
> removed now that we have watchdog.  This would clean up the distribution
> and remove the requirement to include Ant with Tomcat.
>
> Glenn
>
> ----------------------------------------------------------------------
> Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> MOREnet System Programming               |  * if iz ina coment.      |
> Missouri Research and Education Network  |  */                       |
> ----------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org