Mattias Gaertner wrote:

>> Then I'm investigating about a way to add the possibility to
>> automatically create the stubs for the tests as in Eclipse, through a
>> parsing of the unit containing the classes to be tested.
>> I would also like to improve the integration in Lazarus. I'm absolutely
>> fascinated by the power of the code tools, I think we could give the
>> failing tests a first class treatment in Lazarus, similar to compiling
>> errors, by creating some special marks in the source editor.
>> Though I'm sure I'll need some help from a codetools expert for this.
> 
> What do you want to know?
> 
thank you for your reply.

1) to parse the pascal classes and locate the methods of the class as a
candidate for the tests I've used the PasTree, PParser, PScanner units.
Though I found quite complicated to get the whole interface of the
methods, parameters included. Is there a better way to do the parsing
using the codetools in Lazarus?
2) what code do you suggest me to study to understand how to effectively
use codetools to locate and jump to the code in the source editor given
a name of the class and the method name for example?
Thank you in advance.
Ciao, Dean

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to