Hi Y'all,
As of late I've been trying to up my game in testing.
This means that you come to a point that you need to use Dependency Injection based Mocking in your code in order to have the least coupling of your classes.
From a, not so deep, Google search I found these two projects for Mocking in Object Pascal:
- Delphi Mocks - Maintained and active but for Delphi
- Pascal Mock - Does not seem to be any activity past 2007 (Code is still in CVS)
Is this still the status quo of mocking libraries for Free Pascal?
Because I don't think that the Delphi one will work and I can't comment on the Pascal Mock one since I haven't tried it yet.
Cheers,
Gus