I've been looking at how different modules handle it. The MySQL module, for example, prompts for information and then writes a config file. In contrast, Tie::DBI relies on environment variables and simply skips the tests if it's unable to connect.
Which approach do you prefer? I'm hesitant to just rely on environment variables and not warn the user that I'm planning to read/write files, tables, etc.
Can you recommend any modules with complex tests that you think handle it particularly well?
In reply to Complex module testing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |