Re: [fpc-pascal] Running tests with FPC units only

2018-11-11 Thread luciano de souza
What a shame! I shouldn't be so inattentive! Sorry, you are completely right! 2018-11-11 16:57 GMT-02:00, leledumbo via fpc-pascal : >> acording example I found in FPC examples directory, > > Check the one here instead: > $(fpcsrcdir)/packages/fcl-fpcunit/src/demo/consolerunner/testrunner.pp > It

Re: [fpc-pascal] Running tests with FPC units only

2018-11-11 Thread leledumbo via fpc-pascal
> acording example I found in FPC examples directory, Check the one here instead: $(fpcsrcdir)/packages/fcl-fpcunit/src/demo/consolerunner/testrunner.pp It depends only on FPC units. I guess you're looking at examples from Lazarus directory instead of FPC. -- Sent from:

[fpc-pascal] Running tests with FPC units only

2018-11-11 Thread luciano de souza
Hello hall, I am blind, so I don't use Lazarus. In pure Freepascal, I tried to run an example test: program tester; {$mode objfpc}{$H+} uses fpcunit, testregistry; type TMyTest = class(TTestCase) published procedure TestSomething; end; procedure TMyTest.TestSomething; begin AssertEquals(1, 1);