Tecsitel_FactuGES2/Source/ApplicationBase/Empresas/Test/Empresas_Tests.dpr

40 lines
898 B
ObjectPascal

program Empresas_Tests;
{
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
ExceptionLog,
Forms,
TestFramework,
GUITestRunner,
TextTestRunner,
uEmpresasController_Test in 'uEmpresasController_Test.pas',
uHostMainForm in 'uHostMainForm.pas' {HostMainForm};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(THostMainForm, HostMainForm);
Application.Run;
Application.Terminate;
{if IsConsole then
TextTestRunner.RunRegisteredTests
else
GUITestRunner.RunRegisteredTests;}
end.