Testing FPC

From Free Pascal wiki
Revision as of 22:54, 3 May 2013 by Chronos (talk | contribs)

Creating a new test unit for FPC is documented here: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/readme.txt?view=markup

You can find tons of examples under http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/

Description of the subdirectory names:

  • test: systematic tests, usually developed by test driven development
  • webtbs: tests derived from bug tracker bugs requiring successful compilation and run
  • webtbf: tests derived from bug tracker bugs requiring failing of compilation
  • tbs: tests derived from non tracker reports or ideas while fixing something requiring successfull compilation and run
  • tbf: tests derived from non tracker reports or ideas while fixing something requiring failing compilation