Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-11

How to document fpcunit test cases, so that they appear in the XML

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

tcoq

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?

Thanks in advance for your answers and suggestions. Best regards,
Thierry

Michael Van Canneyt
to tcoq
tcoq wrote 6 lines
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.

tcoq
to Michael Van Canneyt

Michael,
Thank you very much,
I'll do that.
I was hoping somebody else had already had the same needs as myself. Best regards,
Thierry
----- Mail Original -----
De: "Michael Van Canneyt"
À: "FPC-Pascal users discussions"
Envoyé: Vendredi 11 Novembre 2011 13h48:42 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [fpc-pascal] How to document fpcunit test cases, so that they appear in the XML

... 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 ?