문제

Looks like DUNIT is already integrated under Delphi XE. But I can't find it. My questions are:

  1. How can I access it? Do I have to install it manually? I don't remember Delphi setup to ask me if I want to install DUnit.
  2. If I have to install it manually, is it better to download the latest version from sourceforge.net or maybe the version delivered by Embarcadero (on Delphi's CD) (if it exists) integrates better with Delphi?

Update:
I purchased Delphi without CD (the downloadable version). Maybe it is smaller than the version delivered on CD so some tools like DUnit are not included?

도움이 되었습니까?

해결책

dUnit is usually installed with Delphi XE, and you can start a new test project from within the IDE.

For example, launch IDE Insight by pressing Ctrl. and then start writing test project, you'll get:

enter image description here

Press enter and you'll be presented an expert to configure your test project using DUnit.

다른 팁

You can always get dunit from sourceforge:

http://sourceforge.net/projects/dunit/

The latest changes are some merges from the embarcadero repository. However, most major updates seem to be from an era before stuff like generics, anonymous functions and operator overloaders existed.

http://sourceforge.net/projects/dunit3/
Here is DUnit for Embarcadero RAD Studio XE

Ok. Found it. I can create a DUnit file from:

File -> New -> Other... -> Delphi projects -> Delphi files -> Dunit.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top