Am Mittwoch, 21. Juni 2006 01:50 schrieb Darius Blaszijk:
Here's a patch for the guitestrunner form for fpcunit. I have added a
synedit XML highlighter and done some anchoring.
Q: is fpcunit inspired on dunit or is it actually derived from some
version of dunit? I have briefly glanced at dunit and I noticed that
it has more a bit more functionality than fpcunit currently has. So
my next question is do we want (need) this "more" functionalty or
not? Do we want (need) fpcunit to be compatible with dunit?
I don't know, didn't use it yet (neither dunit nor fpcunit)
If you don't know about testframeworks than I would suggest you look for a
nice article that MvC wrote about fpcunit (look on google). It describes how
to install and use it under Lazarus. Also look elsewhere on internet like
dunit and junit or wikipedia.
I have also make a simple "maketestcase skeleton" app for existing
projects. It reads the functions and properties from the
implementation section using codetools and creates a skeleton unit,
with a test case defined for each of the functions and units. If
anyone is interested in this code I can send it. Perhaps it would be
an idea to ship it with lazarus as a tool?
So that sounds really interesting. With this tools, I might start using
fpcunit? So yes, I am interested in that code!
The tool I was talking about only helps in constructing empty methods for
the tests. You still need to define your own tests. But before you go there
start simple first and you will get the hang of it soon.
Darius
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives