EPC DUnit Plug-In for Delphi 5-7
================================
Thanks for installing our software. This file contains information about support, compilation and usage of the plug-in. You can find this file in the root directory of your installation.
This plug-in works in conjunction with DUnit. If DUnit isn't installed, please download and install from http://dunit.sourceforge.net/ before compiling projects created by this plug-in.
SUPPORT
If you have any issues with the plug-in, or wish to be notified of updates, please join and post to our support mailing list. Follow the Support link from http://xpro.com.au
For issues relating to using DUnit, please join the mailing lists at https://sourceforge.net/projects/dunit/
COMPILING
Go to the Wizard subdirectory within your installation and load the appropriate project group into the Delphi IDE, ie *50.bpg for Delphi5, *60.bpg for Delphi6, and *70.bpg for Delphi7. This plug-in has not yet been ported to Kylix.
Build all the projects in the project group (MainMenu|Project|Build All Projects). Open the Project Manager (MainMenu|View|ProjectManager), right click the EPCDUnitWizard.bpl target and click 'Install' on the popup menu.
After successful installation, a new item "DUnit" will appear on the IDE main menu, and two new items in the File|New... applet
USAGE
The IDE 'project group' and 'current project' are central concepts to effectively using this plug-in. The project group and all contained projects are visible in the IDE's Project Manager (MainMenu|View|Project Manager). The current project is highlighted in bold text, and can be switched by double-clicking on another project. I find it convenient to use Delphi's desktop feature and dock the Project Manager next to the IDE editor, so the Project Manager is always visible whenever I am using Delphi.
To start using the plug-in, select the menu item "DUnit" from the Delphi IDE main menu.
There are two functions:
1) "New Project..." to produce the skeleton code for a new DUnit project (GUI or console mode)
2) "New TestCase..." to produce the skeleton code for a new DUnit test case class
On selecting either item, a dialog will pop-up, prompting you for a name and location for the new project or test case.
New Project
===========
When you select "New Project...", the wizard takes note of the currently selected project in the IDE, and suggests a new project and location (folder) based on this value. You are free to override the suggestion.
For example, the current project in the IDE is: "c:\Projects\MyApp.dpr"
The suggested DUnit Project would be: "c:\Projects\dunit\MyAppTests.dpr"
The wizard is suggesting a project with a name suffix of "Tests" to be created in a sudirectory of the current project directory, named "dunit".
The wizard will automatically create any directories as needed.
If you have saved the current project group, ie it isn't the default $(DELPHI)\Bin\ProjectGroup1, then the new DUnit project will be added to the current project group. Otherwise the current project will be closed and the new DUnit project opened.
To switch between GUI and console DUnit projects, read the comments at the top of each DUnit project file (.dpr) and add or remove the comment bars from the {$APPTYPE CONSOLE} line accordingly.
New TestCase
============
When you select "New TestCase...", the wizard takes note of the currently selected unit and project in the IDE, and suggests a new unit and location (folder) based on this value. You are free to override the suggestion.
For example, the current project in the IDE is: "c:\Projects\dunit\MyAppTests.dpr"
the current unit in the IDE is "c:\Projects\Source\MyClass.pas"
The suggested DUnit TestCase would be: "c:\Projects\Source\dunit\MyClassTests.dpr"
The wizard is suggesting a TestCase with a name suffix of "Tests" to be created in a sudirectory of the current unit's directory, named "dunit".
The wizard will automatically create any directories as needed.
** NOTE: The new TestCase will always be added to the *current* project, so ensure that your DUnit project is the current project in the IDE whenever you create a new TestCase. Read the notes about the Project Manager at the start of this USAGE section.
$Id: README.txt,v 1.1 2003/01/27 12:48:26 pvspain Exp $
没有合适的资源?快使用搜索试试~ 我知道了~
dunit-7.2.0.zip_open
共613个文件
htm:333个
pas:63个
gif:54个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 32 浏览量
2022-09-23
17:31:24
上传
评论
收藏 941KB ZIP 举报
温馨提示
Dunit 7 DUnit is an open-source unit test framework based on the JUnit test framework.
资源推荐
资源详情
资源评论
收起资源包目录
dunit-7.2.0.zip_open (613个子文件)
dunit.bpg 888B
DUnitWizardProjectGroup50.bpg 858B
DUnitWizardProjectGroup70.bpg 858B
DUnitWizardProjectGroup60.bpg 858B
ProjectGroup1.bpg 821B
ProjectGroup1.bpg 821B
ProjectGroup1.bpg 821B
ProjectGroup1.bpg 821B
ChangeLog 171KB
GUITestRunner.dfm 53KB
DunitAbout.dfm 50KB
frmXPGenOpts.dfm 5KB
XP_OTAFileNamer.dfm 2KB
UnitTestGUITesting.dfm 2KB
EmbeddableGUITestRunner.dfm 1KB
xpmain.dfm 912B
DUnitMainForm.dfm 807B
testunit.dfm 346B
dunit.dpr 3KB
UnitTests.dpr 2KB
DUnitTestLib.dpr 2KB
UnitReg.dpr 2KB
TestDUnitGUI.dpr 2KB
ListTest.dpr 2KB
TestDUNIT.dpr 2KB
Project1Test.dpr 1KB
testXpgen.dpr 1KB
TestKUnitGUI.dpr 1KB
Project1Test.dpr 1KB
xpgen.dpr 1KB
Project1Test.dpr 1KB
testXpgenLib.dpr 1KB
Project1Test.dpr 701B
RegistryTest.dpr 291B
RegistryTest.dpr 291B
RegistryTest.dpr 289B
Project1.dpr 193B
Project1.dpr 111B
Project1.dpr 111B
Project1.dpr 111B
UnitTests.drc 26KB
DUnitTestLib.drc 24KB
testXpgen.drc 24KB
Project1Test.drc 24KB
TestDUnitGUI.drc 24KB
RegistryTest.drc 24KB
UnitReg.drc 24KB
RegistryTest.drc 24KB
ListTest.drc 24KB
RegistryTest.drc 24KB
Project1Test.drc 24KB
Project1Test.drc 24KB
xpgen.drc 22KB
testXpgenLib.drc 22KB
Project1Test.drc 10KB
Project1.drc 10KB
TestDUnit.drc 8KB
Project1.drc 7KB
dunit.drc 3KB
Project1.drc 345B
Project1.drc 345B
DunitTest.drc 0B
vcl40.drc 0B
TestKUnitGUI.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
vcl40.drc 0B
image006.gif 6KB
image002.gif 5KB
bugs.gif 2KB
bugs.gif 2KB
deprecat.gif 1KB
deprecat.gif 1KB
componen.gif 998B
componen.gif 998B
override.gif 983B
override.gif 983B
abstract.gif 982B
abstract.gif 982B
message.gif 981B
dynamic.gif 981B
message.gif 981B
dynamic.gif 981B
virtual.gif 965B
virtual.gif 965B
message2.gif 920B
message2.gif 920B
abstrac2.gif 917B
abstrac2.gif 917B
dynamic2.gif 916B
dynamic2.gif 916B
overrid2.gif 915B
overrid2.gif 915B
virtual2.gif 901B
共 613 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
御道御小黑
- 粉丝: 58
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功