I have a tiny little module (two methods and a class variable) that I need to write tests for. I'm thinking of making it a self-testing module such that if you just run it directly, it will run it's tests, but not if it is used/required into a script. I have two questions.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
In reply to Self-testing modules by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |