Hi Support Team,
After the last update of FinalBuilder (or ContinuaCI?) the Delphi Unit Test Action fails with an exception (I’ve posted that in another topic).
But this unit test had never updated the ContinaCI unit test counters - thus I’m not sure, whether or not my Unit Test Project is correct. I found a sample anywhere on your web site months before ContinuaCI was released. The project file contains the following hint:
FinalBuilder-compatible Delphi DUnit Test Project
-------------------------------------------------
This project contains a FinalBuilder compatible DUnit-Test-Framework. It is a merge of
[D2K10]\ObjRepos\de\DUnitTestProjectTemplate.dpr and [FB7]\DUnit\Example\FBDUnitTest.dpr
and provides both GUI and Console mode. The latter one is required by FinalBuilder.
Is there a Delphi Sample for a ContinuaCI UnitTest Action available for download?
Best regards
Michael
Hi Michael
We’re going to need more information to diagnose this. What version of Continua CI, what version of FinalBuilder, what version of Delphi, what version of DUnitX (I’m assuming that’s what you are using)?
As for sample DUnitX projects for Continua CI, just use the DUnitX Project wizard to create a new DUnitX project, and use the option to create a sample fixture. It creates a project file that has IFDEF’s for CI, and when building the project to be run under Continua CI, make sure you set that define.