From: "Michael Rettig" <[EMAIL PROTECTED]>
> Is there a way to get line numbers from a failed JellyUnit test?

This is now implemented in CVS HEAD.

There are now 2 ways to handle line numbers. A Tag can implement
LocationAware and so will be configured with the location of the Jelly
script in which its used.

Secondly, all the JellyUnit testing tags (both the core library (junit), the
XML validation library (validate) and the xmlunit library) now throw
JellyAssertionFailedError exceptions which contain details of the tag from
where they are thrown.

So now as JellyUnit test cases fail we should be given all the information
we need to know both what the expressions were and where in the JellyUnit
files the failure occurred. Let me know if this works OK for you.

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to