To sum things up, XMLUnit is just using JDom to examine XML trees and then allow you to assert things againt them.
I had a quick look at JXUnit before and it looks quite interesting, but I've not had time to look at it further as yet (So much to do so little time).
Not quite sure what any overlap between the two projects might be apart from maybe using JXUnit to drive XMLUnit assertions. Might be a useful approach for projects creating lots of XML documents (XML Parsers etc).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I could convert some application objects into XML and pass them to you.
JXUnit has two forms of extensibility:
1. JXTestStep interface and
2. JXU markup language//binding schema.
Anything which implements the JXTestStep interface can be invoked. Objects and strings are passed via a Map. And a Test object is passed for making assertions on.
On the other hand, we can extend JXU to support JDOM-based assertions.
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jeff,
It looks like we share an intereste in combining JUnit and XML. I expect that our approaches are different, but perhaps complimentary.
We've just completed a first release of JXUnit, homepage at http://jxunit.sourceforge.net (with a second release soon to follow).
Perhaps we could work together.
Bill
Cool, someone looked at my project ;o)
To sum things up, XMLUnit is just using JDom to examine XML trees and then allow you to assert things againt them.
I had a quick look at JXUnit before and it looks quite interesting, but I've not had time to look at it further as yet (So much to do so little time).
Not quite sure what any overlap between the two projects might be apart from maybe using JXUnit to drive XMLUnit assertions. Might be a useful approach for projects creating lots of XML documents (XML Parsers etc).
JDom & asserts sounds pretty cool.
I could convert some application objects into XML and pass them to you.
JXUnit has two forms of extensibility:
1. JXTestStep interface and
2. JXU markup language//binding schema.
Anything which implements the JXTestStep interface can be invoked. Objects and strings are passed via a Map. And a Test object is passed for making assertions on.
On the other hand, we can extend JXU to support JDOM-based assertions.
Bill