1234567891011121314151617181920212223242526272829 |
- program testopenapi;
- {$mode objfpc}{$H+}
- uses
- Classes, consoletestrunner, utOpenApi, fpopenapi.consts, fpopenapi.types, fpopenapi.objects, utOpenApiReader, utOpenAPIWriter,
- fpopenapi.reader, jsonparser, UtOpenApiPascalTypes;
- type
- { TMyTestRunner }
- TMyTestRunner = class(TTestRunner)
- protected
- // override the protected methods of TTestRunner to customize its behavior
- end;
- var
- Application: TMyTestRunner;
- begin
- DefaultRunAllTests:=True;
- DefaultFormat:=fPlain;
- Application := TMyTestRunner.Create(nil);
- Application.Initialize;
- Application.Title := 'FPCUnit Console test runner';
- Application.Run;
- Application.Free;
- end.
|