5
votes
Vote UpVote

Common Unit Tests for Delphi / FreePascal

DelphiTools – Serg recent wrote an introduction to unit testing under Lazarus, showing how everything is there, but just that little bit “off” because of different unit names between FPCUnit and DUnit. Not being a fan of ifdef, the prospect of having unit tests “uses” sections littered with ifdef did not attract me, so I made a little adapter unit to keep the “uses” sections clean. It simply aliases the useful unit tests classes and units and goes like: unit dwsXPlatformTests; interface uses Classes, SysUtils, {$ifdef FPC} fpcunit, testutils, testregistry ...
Favorite? Off-Topic? Eric @ 2012-09-06 08:31

Statistics

Visits: 803
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Ericc
François
Ravaut123
TOndrej
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)