Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

Feature Request: TSiSessionClass


#1

Please support a
TSiSessionClass = class of TSiSession
and a factory function inside TSmartInspect
function GetSessionClass: TSiSessionClass; virtual;

This could be used to extend public logging methods or own implemented logging interfaces.

Best regards,
Mirko


#2

Hi Mirko,

Good idea, thanks, I added your suggestion to our feature request list. You can already use custom session classes with the current SmartInspect version by creating them manually instead of using AddSession:

You can even store it in the TSmartInspect object so that you do not need to free it yourself (and can also look it up later):

Would this work for you? Hope this helps.

Regards,
Tobias


#3

Hi Tobias,

Danke für den Tip!! Das manuelle Instanzieren geht - unsere erweiterten Sessions funktioneren dadurch ebenfalls :slight_smile:

Grüße
Mirko


#4

Hallo Mirko,

Danke für das Feedback. Freut mich zu hören, dass es gut funktioniert. :slight_smile:

Grüße,
Tobias