Now, I understand. FPCUnit and FPCRegistry do not have LCL dependences.
What depends on LCL is the runner called Console Runner. This name make
me confused!
I ahve alredy read the documentation, but I could not understand.
Perhaps, perhaps my weak english... Well, the fact is that everything
In our previous episode, Luciano de Souza said:
Now, I understand. FPCUnit and FPCRegistry do not have LCL dependences.
What depends on LCL is the runner called Console Runner. This name make
me confused!
In package/fcl-fpcunit/src/demo/consolerunner
there is a runner that is not LCL
The unit consoletestrunner from $lazarusdir/components/fpcunit/console
might still be useful to you, because it allows writting the testresults
to the console. The unit has NO dependencies to the LCL, so you can
simply copy it and compile it along with your tests. Normally you use it
like this
FPCUnit is part of FCL and it doesn't require LCL. Of course if you install
via packages under Lazarus components folder, it would depend on Lazarus
parts (e.g, LCL), esp. for the runner. Open
fpc/packages/fcl-fpcunit/src/demo for a pure FPC example. Or