You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Guido Casper <gc...@s-und-n.de> on 2003/09/10 09:10:18 UTC

Regression tests (was Re: Announcing 2.1.1)

Christopher Oliver <re...@verizon.net> wrote:
> Unfortunately I think 2.1.1 contains a Rhino regression I temporarily
> introduced while trying to fix bug 22513 which will cause any scripts
> with nested functions to fail. This includes some of the flow samples
> like PetStore and JXForms.
>
> IMO we are in serious need of regression tests for flowscript. In the
> meantime any help others can provide with respect to testing the flow
> implementation is appreciated.

I agree that automated functional tests would be of equivalent
importance as the unit tests Stephan enabled.
There are some Anteater tests in CVS. However you need to uncomment
these in the test target as they require you to have a local Anteater
on your HD.
I wonder whether it would be to heavy to put a trimmed down Anteater
in the CVS so that these tests can be enabled by default (and each block
have its own Anteater tests as well) so that you just need to run:
cocoon servlet
build functional-tests

(Anteater could even be configured to start its own servlet container
to test against IIUC)

Guido