From: Matthias R. <mat...@so...> - 2006-07-17 20:15:46
|
Bjorn Bringert <bri...@cs...> writes: > I think that some sort of test suite would be very nice to have > before a release, but that might just be my personal opinion. IMHO the test suite is *essential*. HaskellDB is quite a complex library and changes in one area can have far-reaching and non-obvious consequences. In absence of a large user base, a reasonably comprehensive test suite is crucial for tracking down bugs. I was horrified when I found out that the current test suite had bit-rotted. It means that all recent changes are highly suspect and will have most likely broken something somewhere. Bjorn, do you know when the test suite was last run successfully? Then we could take a look what changes were introduced since then and add test cases for those. Ideally we'd also do coverage testing to determine what other tests we should add to get a reasonably good coverage of the library. One added complication is that the test suite should be run against a variety of db backends, in order to identify db-specific code that has crept into the generic code base, and bugs in the db-specific code itself. Matthias. |