Menu

XML Unit and JXUnit

2001-03-26
2001-04-02
  • Bill la Forge

    Bill la Forge - 2001-03-26

    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

     
    • Jeff Martin

      Jeff Martin - 2001-04-01

      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).

       
      • Bill la Forge

        Bill la Forge - 2001-04-02

        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

         

Log in to post a comment.

MongoDB Logo MongoDB