You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Claude Brisson <cl...@renegat.net> on 2007/11/05 08:56:55 UTC

Re: [veltools] Unit testing best practices

Le mardi 30 octobre 2007 à 11:02 -0700, Nathan Bubna a écrit :
> On 10/30/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
> > All,
> >
> > I recently added a JIRA enhancement and included a patch. I want to add
> > a unit test (for my changes to the LinkTool) to the existing tests, but
> > I'm having trouble doing so.
> >
> > First, the test system itself is cumbersome (to me). It tries to start
> > servlet container instances and stuff like that, and anytime something
> > goes wrong, that server stays running and I can't run a test without
> > manually stopping it (which was a hunt to figure out how to do it properly).
> 
> yeah, we should make that "ant test.stop" target a little more obvious..  sorry.

This is fixed - the servlet container is now always stopped.


  Claude



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org