[lazarus] The use of FPC and Lazarus for simulation software

Vincent Snijders vslist at zonnet.nl
Sat Sep 20 11:26:47 EDT 2003


On Sat, 20 Sep 2003 12:02:59 +0200 (CEST)
Michael.VanCanneyt at Wisa.be wrote:

> 
> 
> On Fri, 19 Sep 2003, P. van der Velde wrote:
> 
> > Finally I would like to know if the the DUnit testing system
> > (http://www.dunit.sourceforge.net) works with FPC and Lazarus? I
> > have been using this system to test my classes for some time now I
> > have found that it is one of the best testing systems. It has helped
> > me remove loads of bugs from my source code.
> 
> If it works, only with 1.1, because it makes heavy use of interfaces.
> 
> Michael.
Last year I took the code of dunit (version 5.02, I think) and
changed it so that the testframework unit and the texttestrunner
work. I still miss some features, such as saving settings and error
trace back. I don't know if I can give those units to you as I don't
understand the licence very well. The code is based on dunit, but I
wouldn't want to call it dunit anymore, because I amputated so much. 
Last week I give a try to make the guitestrunner compile and run.
I had the following problems:
- AFAIK, Actions are not fully implemented in the LCL.
- I ran into a compiling problem, I had no solution for: 
 Error: Symbol can't be published, can be only a class"
The only reference on the mailinglist told it was possibly a compiler
bug and that you should retry with fpc 1.1. Unfortunately 1.1 is not
stable enough this week, due to the reorganization of the linux, unix
and unixbase units.

Regards,
Vincent.






More information about the Lazarus mailing list