I have just recently begun using tclwebtest to set up testsuites for the project we run at the moment, and now I'm fascinated of the idea of getting some quality into my software 
So I wanted to use assertions in the code to be sure, certain assumptions are right. I wrote up a little proc that evaluates an expression and if that is false, returns an error message to the user and sends some explanations to the log and (optionally) as a mail to the programmer.
Has anybody some more ideas what to include there or interest in the code? Maybe it could be included as a utility proc, I think it's useful.
So I wanted to use assertions in the code to be sure, certain assumptions are right. I wrote up a little proc that evaluates an expression and if that is false, returns an error message to the user and sends some explanations to the log and (optionally) as a mail to the programmer.
Has anybody some more ideas what to include there or interest in the code? Maybe it could be included as a utility proc, I think it's useful.
Request notifications