That's easy, but the core of the script might do some things I wouldn't want to run while testing (like deleting files or dropping database tables or whatever), that's why I was trying to provide a way to test only specific parts.
But yeah, you're right too :), thanks.
In reply to Re^2: Guidelines for creating self-contained testable scripts
by rpetre
in thread Guidelines for creating self-contained testable scripts
by rpetre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |