[Lazarus] Bored?
Graeme Geldenhuys
graeme at geldenhuys.co.uk
Mon Apr 15 23:10:35 CEST 2013
On 15/04/13 20:38, Michael Van Canneyt wrote:
>
> I use it for years, and except for 1 issue, there are no problems.
Yes the issue you mentioned, plus other decorator issues too. I remember
having problems where decorators executed too many times too, in nested
tests - causing large test suites to slow down dramatically.
Then there is also the lack of controlling test runs, configurable
options, project support inside a test suite, lack of warnings about
tests that don't actually call any AssertXXX() methods, more accurate
timing (excluding Setup/Teardown times), summary level check support to
speed up test suite execution when needed (thus skipping detail level
tests) but if the summary test fails then detailed tests will run,
memory leak detection and overriding what is acceptable leaks etc etc...
Then I haven't even gotten to the GUI and Console runner features.
The list is much larger than just 1 issue. You should take a look at
DUnit2/FPTest at some point to see just how far behind FPCUnit is in
functionality. FPCUnit development has been dormant for years, and my
(and many others) testing needs have grown far beyond what FPCUnit offers.
But yes, if you have a very basic test suite design, or have very basic
testing needs, then FPCUnit should suffice I guess.
Regards,
- Graeme -
More information about the Lazarus
mailing list