Questions tagged [dunitx]

DUnitX is a Delphi test framework

DUnitX is a new test framework, taking ideas from DUnit, NUnit and other test frameworks. It is designed to work with Delphi 2010 or later, it makes use of language/RTL features that are not available in older versions of Delphi.

37 questions
0
votes
2 answers

Delphi TestInsight cant load the DLL

I'm trying to install and use TestInsight in Delphi XE 10.4 downloaded from https://bitbucket.org/sglienke/testinsight/wiki/Home and selecting the link http://files.dsharp.org/TestInsight/1.1.9.0/TestInsightSetup.zip I close Delphi and run the setup…
Andrew
  • 113
  • 2
  • 8
0
votes
1 answer

How can i show DUnitX results on TeamCity

I have been trying to fiddle around within my instance of TeamCity to try and get a Tests tab to display at the end of each build. My current build configuration is as follows: [Powershell] Set version of delphi application [Command Line] Build…
SolThoth
  • 369
  • 3
  • 7
0
votes
2 answers

installing DUnitX under C++ builder

How to install DUnitX under C++ builder? I am working with Version 10.2.3. and I can't find any hints to use this testing framework in my projects.
Hoeh
  • 45
  • 4
0
votes
1 answer

Memory issues when using spring.Nullable with DUnitX

Recently at my company we tried to use DUnitX with all it's blessings to test classes we wrote. Since those classes reflect entities in database all fields have to accept null values as well as specific type (e. g. Integer or string). Since spring4d…
0
votes
1 answer

Strange unit version error - Is DUnitX depending on DUnit or the other way around?

I was using Delphi xe4 to compile https://github.com/hprose/hprose-delphi/blob/master/Test/HproseTest.dpr And got the following error which I spent tens of minutes and still couldn't figure out why. I've tried deleting all 'DUnitX*.dcu" and compile…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
0
votes
1 answer

Delphi DUnitX tests creation of form twice

I created a TestCase with DUnitX which automatically generated some code and I'm confused as to how I should structure the test case. The (automatically generated) code looks like the following: procedure TestTBtnMgmtForm.SetUp; begin FBtnMgmtForm…
Nils Guillermin
  • 1,867
  • 3
  • 21
  • 51
-1
votes
1 answer

DunitX and FinalBuilder

I have both C++ and Delphi tests in DunitX. I am trying to get it to Build in FinalBuilder. C++ tests builds fine, but Delphi tests has the error: "Error creating cfg file: C:\Tests.cfg Error expanding variables in Library Path : [Expression Error]:…
Mathew Joy
  • 121
  • 7
1 2
3