Skip to main content

Posts

Showing posts from July, 2017

NEW! Mini Test Framework for Delphi

Mini Test Framework for Delphi Unit Testing Hello All, I was working last week on the TLabelledEnum project where I needed a very lightweight, and simple to use unit-test framework. I have used Dunit and DunitX - both great but can be a little fiddly to configure and there are few versions around that might make it a little difficult to deploy reliably with the Delphi Enum repository to different users. The tests I needed to do were not too complex so I simply started putting together a few simple functions like Check (following DUnit style) and CheckIsEqual , and CheckIsTrue .   At the end of the day, I had a pretty much fully functional unit test framework with DUnitX style output.   I thought some other people might get some use out of it, so I put it up on my GitHub, in the Delphi Tips repository  Glens Delphi Tips Repo The advantage is of this that you can simply include the   MiniTestFrameWork.pas  in a console project and start adding test cases.