Originally posted by Robert Chisholm:
Makes me curious as to how many people use unit testing tools like JUnit.
If you did, you could spend a few hours writing those test cases and just be done with it.
I ran into a surprising snag the other day in my create() method which my JUnit test picked up. I'd highly recommend testing that method, since it can re-use an existing record, or write past the EOF. And I don't know about anyone else but I used a deleted record collection, so that complicated it further.
Was the snag a peculiar situation when the create method overwrote a seeming valid record
after it determined it to be
deleted ? I had to write a do-while loop to solve that issue.
[ September 21, 2004: Message edited by: Anton Golovin ]
Anton Golovin ([email protected]) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]