[fpc-pascal] FPCUnit article/tutorial online.

Olle Raab olle.r at automagika.se
Fri Oct 14 03:31:17 CEST 2005


05-10-11 23.52, skrev L505 följande:

> programmer. We have seen the compiler can use "tests" in order to test the
> validity of the
> compiler.  Are these "unit tests" or just "tests". It all seems vague to me. A
> compiler is

A unit test should test a small module of a program, like a pascal unit.
Since most of the tests in the FPC compiler test suite do test the compiler
as a whole, they are not unit tests, rather some kind of system tests (I
think). Which does not make them less useful.

Olle




More information about the fpc-pascal mailing list