mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 08:15:53 +01:00
39 lines
1.2 KiB
ObjectPascal
39 lines
1.2 KiB
ObjectPascal
program DMVCFrameworkTests;
|
|
{
|
|
|
|
Delphi DUnit Test Project
|
|
-------------------------
|
|
This project contains the DUnit test framework and the GUI/Console test runners.
|
|
Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
|
|
to use the console test runner. Otherwise the GUI test runner will be used by
|
|
default.
|
|
|
|
}
|
|
|
|
{$IFDEF CONSOLE_TESTRUNNER}
|
|
{$APPTYPE CONSOLE}
|
|
{$ENDIF}
|
|
|
|
uses
|
|
DUnitTestRunner,
|
|
FrameworkTestsU in 'FrameworkTestsU.pas',
|
|
LiveServerTestU in 'LiveServerTestU.pas',
|
|
MessagingExtensionsTestU in 'MessagingExtensionsTestU.pas',
|
|
TestControllersU in 'TestControllersU.pas',
|
|
MVCFramework.RESTClient in '..\..\sources\MVCFramework.RESTClient.pas',
|
|
BusinessObjectsU in '..\..\samples\commons\BusinessObjectsU.pas',
|
|
ObjectsMappers in '..\..\sources\ObjectsMappers.pas',
|
|
BOs in 'BOs.pas',
|
|
RTTIUtilsU in '..\..\sources\RTTIUtilsU.pas',
|
|
TestServerControllerU in '..\TestServer\TestServerControllerU.pas',
|
|
RESTAdapterTestsU in 'RESTAdapterTestsU.pas',
|
|
MVCFramework.RESTAdapter in '..\..\sources\MVCFramework.RESTAdapter.pas';
|
|
|
|
{$R *.RES}
|
|
|
|
begin
|
|
ReportMemoryLeaksOnShutdown := true;
|
|
DUnitTestRunner.RunRegisteredTests;
|
|
|
|
end.
|