[odf-discuss] Three kinds of tests

Daniel Carrera daniel.carrera at zmsl.com
Wed May 7 06:09:38 EDT 2008


Hanssens Bart wrote:
> They provide very good input for real life tests (although it shouldn't
> matter if the document is generated by a converter or written "natively"
> in ODF), as these documents tend to be dirty: often reused / re-edited,
> superfluous mark-up inserted by converter tools etc.

An additional thought: Naturally the converted file has to be valid ODF. 
As Alex and Rob found out, if you take a .doc with errors (like URLs 
that end in ##) and give it to OOo, OOo will preserve the errors in the 
resulting ODF. So we may have to scan through those documents and fix 
errors.

Oh! Peter Vandenabeele had a simple type 3 test suite (real world docs) 
that he was using. It had a small collection of documents of various 
kinds, he was using it last year to test ODF implementations. Do you 
happen to know where it is? There was a URL, but I have lost it.

> But I wouldn't use them for type 1 tests (atomic / unit tests)

Indeed. I think all three types of tests are useful.

Type 1: Atomic, unit tests.
Type 2: Acid-type test.
Type 3: Real world documents.

Cheers,
Daniel.



More information about the odf-discuss mailing list