[fpc-pascal] FPCUnit: TestSuiteName vs TestName
graemeg.lists at gmail.com
Mon May 21 22:40:48 CEST 2007
On 5/21/07, Dean Zobec <dean.zobec at gmail.com> wrote:
> creating other suites and building the tree. So your unit is very handy
> for this and spares some typing.
Yeah, I have now grouped the tiOPF tests into the following suites.
Non-Persistent Tests and then one testsuite per registered persistant
layer (like CSV, TAB, Oracle, Firebird, etc).
I've done the same for our commercial apps. Splitting the
Non-Persistent tests from the Persistant (DB tests). This allows me to
run the Non-Persistent suite all at once without having to pull in the
slower running DB tests.
> Yes, if it wasn't for your huge test suite, FPCUnit would not have been
> improved. The first time I've heard from you, some two years ago I
> didn't even believe it could handle such a suite gracefully.
Wow, that long ago.... Time flies when you are having fun. :-)
> There is still many improvements that can be made, but my spare time is
> quite scarce lately. I'm waiting for my vacations :)
Yeah, I have a few more improvements on my list as well... All in due time.
> Only when I wrote myself the framework in pascal, following the java
> code, I was able to understand it completely (and still I'm convinced
I was actually thinking of doing this as an example of Test Driven
Development. Writing a new testing framework in Object Pascal, not as
a replacement of FPCUnit, but to following the book of Kent Beck.
I've done the money example a million times... :-)
General error, hit any user to continue.
More information about the fpc-pascal