[fpc-pascal] How to document fpcunit test cases, so that they appear in the XML

Michael Van Canneyt michael at freepascal.org
Fri Nov 11 13:48:42 CET 2011



On Fri, 11 Nov 2011, tcoq wrote:

> Hello, I would like to add additional information to the test cases.  I'm
> using FPCUnit.  Is there a way to document the test cases?  For example,
> to describe the test case, to link to the verified requirement, to link to
> a (Mantis) defect, to link to a test management system (such as Salome:
> https://wiki.ow2.org/salome-tmf/), to distinguish between normal
> functional tests and degraded mode tests, or performance tests?

I am not sure I understand what is meant here ? I would think that you create 
a TTestCase descendant which introduces additional methods, which can then be
queried by a specialized test listener ?
After that it's just a matter of re-basing your tests so they descend from this testcase ?

Michael.



More information about the fpc-pascal mailing list