I can't remember, but I thought I set it up so that verify.groovy can
be used to allow a test build to be failed, but still have the test
pass... just for this reason.  If not, create a JIRA and I'll fix it.

--jason


On Feb 13, 2008 1:57 PM, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
>
> On 2/12/08, Rod Coffin <[EMAIL PROTECTED]> wrote:
> > I have written a test for a plugin using the SHITTY plugin that I expect to
> > fail.  This is because I am testing that my plugin correctly fails the build
> > under certain situations.  But I can't find a way to ask the SHITTY plugin
> > to not fail the build for my plugin when the test build that I expect to
> > fail does indeed fail.  I have tried setting the 'ignoreFailures' option but
> > then legitimate failures are ignored as well.  I do verify the reason for
> > the failure in the test build's validate.groovy script and I would like
> > failures thrown from that script to fail the plugin's build.  Does anyone
> > have suggestions as to how I can achieve the desired behavior?
>
> I had the same issue some days ago, so I reverted to use unit tests
> instead of IT for the problem, as the infrastructure didn't seem to be
> in place in the shitty plugin itself.
>
> If someone opens an issue in Jira, please post it to this thread :)
>
> J
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to