Hi,
Has anybody managed to get DUnit working under FPC/Lazarus? Text or GUI
test runner, I don't mind. I got the Text Test Runner to compile with
very little effort, but when I do a simple test case, it raises a AV. I
haven't investigated any further yet.
I realize the original DUnit conversion was stopped due to FPC not
supporting Interfaces and the release of fpcUnit. This has all changed now.
Yes, I know about fpcUnit. I have been converting my test suite
consisting of 1600 tests to it, but things work quite different between
the two xUnit test frameworks. DUnit is not based as much on JUnit as
fpcUnit does. My thinking now (after a month), is that it might just be
worth the effort to get DUnit working under FPC. The project I am
converting still needs to compile under Delphi and DUnit after the
conversion. I have already written a DUnit compatible interface for
fpcUnit to help me along, but now I am hitting a snag with the
TestDecorator and some Delta roundings in floating point tests.
Regards,
- Graeme -
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives