In jellyUnit is there support for using assertEquals with XPath? I have an xml value 
that I want to compare like so:

<test:assertEquals xpath="$doc/order/item/@quantity" value="4"/>

I am presently using the assert with xpath...

<test:assert xpath="$doc/order/item/@quantity = '4'"/>

This works find, but for failure, it doesn't give me enough information. I want to 
know what the actual value was, if anything. 

Currently, error messages look like this...

evaluating xpath: ($:docchild::msg/child::order/child::item/attribute::quantity = "4")

Also, is there a way to get line numbers from JellyUnit scripts? When I get test 
failures know, I get a stack trace, but I don't know on which line in the JellyUnit 
script there was a failure. 

Thanks,

Mike Rettig

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

One click access to the Top Search Engines
http://www.exactsearchbar.com/mailcom


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

Reply via email to