dunit
What Delphi components ship with unit tests? [closed]
开发者_如何学JAVA As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely[详细]
2023-04-09 05:43 分类:问答How to use visual components in delphi unit tests?
As is sometimes usual in visual applications, I have some code where data is maintained in a visual component (a TTreeView component). I\'m refactoring the code and creating unit tests for the logic.[详细]
2023-04-04 20:43 分类:问答How can I test functions and procedures as they don't belong to classes in Delphi?
I have several little functions in an old Unit ca开发者_Go百科lled Utils.pas. Now I\'d like refactoring some of them, but I think it\'s better to write test before. With DUnit I think it\'s impossib[详细]
2023-03-13 07:36 分类:问答Update DUnit on Delphi 2010
Does anyone know how to update dUnit which comes with Delphi 2010 to the latest svn sour开发者_JAVA技巧ce code?Steps[详细]
2023-03-11 20:08 分类:问答How do I determine the type of the implementing object of an interface
I\'m attempting to write a unit test for a simple factory class that creates one of several possible implementing objects and returns it as an interface reference.[详细]
2023-02-15 08:27 分类:问答Using DUnit from the Delphi IDE and avoid breakpoint on exceptions
I\'m using Delphi XE and I\'ve got a project group containing the main application and a DUnit test application. From time to time, I go to the DUnit test application to add some tests and run existin[详细]
2023-02-09 09:38 分类:问答Delphi 2007 Version Info missing from Exe
I have a Delphi 2007 project and I\'m trying to set the Project->Options->\'Version Info\'. I enter the values into the form and save the project. However, when I build, the generated exe doesn\'t con[详细]
2023-01-31 02:04 分类:问答How can I disable DUnit tests by name programmatically?
For integration tests, I created a DUnit test suite which runs once for every version of a third party component (a message broker). Unfortunately, some tests always fail because of known bugs in some[详细]
2023-01-27 03:55 分类:问答Where can I find an introduction to using DUnit with Delphi 2007 or newer?
I\'m new to using and writing unit tests, but I\'ve become convinced that they can help me write better code and ultimately save me time. I understand that DUnit is well integrated into Delphi 2006 an[详细]
2023-01-25 08:39 分类:问答How do I prevent my unit tests from requiring knowledge about implementation internals when using mock objects?
I\'m still in the learning stages regarding unit-testing and in particular regarding mocking (I\'m using the PascalMock and DUnit frameworks). One thing I now stumbled over was that I couldn\'t find a[详细]
2023-01-11 11:19 分类:问答