Hello all,
I noticed that most of our scaffold unit tests are kinda hard to
maintain. specially because they compare XHTML as strings, instead of
the structure as a whole.
This implies that if you place a line break in a generated XHTML for
example, it breaks the whole test as well.
What about if we refactor these tests to use XmlUnit instead ?
(http://xmlunit.sourceforge.net/)
This way we could compare the structure without the ugly plain string
comparison, WDYT ?
Regards,,
George Gastaldi