Re: Re: PULL Parser in PHP

Stefan Haustein <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Organization Univ. Dortmund FB 4 LS 8
Message-ID <[email protected]>
Alek,

perhaps we could use a list of parser position descriptions as a simple
conformance test?

Best,
Stefan


Aleksander Slominski wrote:
 > Luis Argerich wrote:
 >
 >
 >>Do you have a textual description or somilar so I can
 >>translate the test cases to PHP ?
 >
 >
 > hi,
 >
 > the idea behind junit conformance tests for XMLPULL API
 > is to check that different implementations of API will produce
 > the same results - when they pass tests we document it on the webpage:
 > http://www.xmlpull.org/impls.shtml - it gives user some assurance
 > that they can switch to different implementation and their code
 > will still work.
 >
 > unfortunately test code itself is the only documentation but i believe
 > it should be easy to read and has this advantage that there is only
 > one representation to maintain (no need to keep test documentation
 > in sync and if it gets out of sync it is even worse than no 
documentation).
 > anyway let me know if you  have doubts and i will try to help you.
 >
 >
 >
 >>I'm fixing the first bug of the unreleased parser :-)
 >>it's nice.
 >
 >
 > the real nice thing about unit testing that you can do modifications
 > to your implementation and run tests to verify that this change had
 > no visible side effects :-)
 >
 > alek
 >
 >


-- 
Stefan Haustein
Univ. Dortmund, FB 4, LS 8   tel: +49 231 755 2499
Baroper Str. 301             fax: +49 231 755 5105
D-44221 Dortmund (Germany)   www-ai.cs.uni-dortmund.de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.