Sign in Join

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

Mailing lists / fpc-pascal / 2007-06

fpcunit documentation?

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Tom Verhoeff

I know FreePascal includes the fpcunit unit testing framework (the compiler knows where to find it), but I can't seem to find any documentation via the regular www.freepascal.org, or the fpc wiki, or on the lazarus site?

Michael's fpcunit.pdf seems hidden. Google tells me it is here

<http://www.freepascal.org/docs-html/fpcunit.pdf>

but that directory does not list it.

That is a pity.

Can someone educate me (or update the site)?

Is there any more up-to-date documentation. I know some people enhanced fpcunit after Michael's article from 9 October 2005.

Tom

E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven http://www.win.tue.nl/~wstomv/ | The Netherlands

Reply by email

Darius Blaszijk
to Tom Verhoeff

The link you gave below to the pdf seems to point to a valid file. Please recheck it.

Darius

Tom Verhoeff wrote 20 lines
I know FreePascal includes the fpcunit unit testing framework (the compiler knows where to find it), but I can't seem to find any documentation via the regular www.freepascal.org, or the fpc wiki, or on the lazarus site? Michael's fpcunit.pdf seems hidden. Google tells me it is here <http://www.freepascal.org/docs-html/fpcunit.pdf> but that directory does not list it. That is a pity. Can someone educate me (or update the site)? Is there any more up-to-date documentation. I know some people enhanced fpcunit after Michael's article from 9 October 2005. Tom

Reply by email

Graeme Geldenhuys
to Tom Verhoeff: I know FreePascal includes the fpcunit unit testing framework (the compiler knows where…
Tom Verhoeff wrote 8 lines
I know FreePascal includes the fpcunit unit testing framework (the compiler knows where to find it), but I can't seem to find any documentation via the regular www.freepascal.org, or the fpc wiki, or on the lazarus site? Michael's fpcunit.pdf seems hidden. Google tells me it is here <http://www.freepascal.org/docs-html/fpcunit.pdf>

This link works here... For more documentation, you can also look at the JUnit testing framework. FPCUnit is based on (and is very close to) JUnit and the documentation for JUnit should help you a lot with writing test cases.

Michael did mention that he was going to document the fcl-fpcunit directory, but a few other packages are scheduled first.

If you have any problems using FPCUnit, please post question here...

Regards,
- Graeme -

Reply by email

Tom Verhoeff
to Darius Blaszijk: The link you gave below to the pdf seems to point to a valid file. Please recheck it.…
Darius Blaszijk wrote
The link you gave below to the pdf seems to point to a valid file. Please recheck it.

It is there alright, but you cannot navigate to that file on <www.freepascal.org>. You need to know the URL to find the file. In fact, fpcunit is mentioned almost nowhere. Even googling does not turn up a lot of relevant leads.

I think fpcunit is listed in (some earlier) release notes, when it got integrated first in the FCL (1.9.x).

The FCL implementation got restructured (cf. the subversion repository structure) after I wrote about FCL in the wiki.

If someone tells me the overall structure of the FCL, then I could update the wiki somewhat more. How do I find out which units are there? Looking at the svn repository, it is still not obvious to me.

Tom

E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven http://www.win.tue.nl/~wstomv/ | The Netherlands

Reply by email

Dean Zobec
to Tom Verhoeff: I know FreePascal includes the fpcunit unit testing framework (the compiler knows where…

Tom Verhoeff pravi:

Show quoted text 19 lines
I know FreePascal includes the fpcunit unit testing framework (the compiler knows where to find it), but I can't seem to find any documentation via the regular www.freepascal.org, or the fpc wiki, or on the lazarus site? Michael's fpcunit.pdf seems hidden. Google tells me it is here <http://www.freepascal.org/docs-html/fpcunit.pdf> but that directory does not list it. That is a pity. Can someone educate me (or update the site)? Is there any more up-to-date documentation. I know some people enhanced fpcunit after Michael's article from 9 October 2005. Tom

I can send you an article I wrote about fpcunit two years ago but I never had time to rewrite with some more interesting examples of test driven development. The overall functionality has not changed at all since that, and the article is a good tutorial about unit testing using the fpcunit framework.
Anyway, just ask here if you have specific questions about fpcunit and well'answer you as always.
Thank you,
Dean

Reply by email