Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Complex module testing
by knight (Friar) on May 04, 2001 at 17:47 UTC |