Toad World® Forums

Execute a procedure before generated code being tested?


#1

Is there a way to run a procedure prior to Code Tester running the generated test code? I want to be able to set a context variable so it is there prior to the test code running. The modules being tested rely on the context variable.
I tried inserting the procedure call in the generated code, but it re-generates when I run it. (Which makes sense)

Thanks
Joe


#3

You have to use one of the Customization sections. There is a place to insert your own code before the generated test code.

Best regards,
Ferdinand