in reply to How do you test end-user scripts?
That would amount to black box testing, which is fine if that is what you want. The white box technique is to require scripts so you can access individual subs that you want to test.