Make your logging directory configurable and for testing use (for example) t/var/log instead of /var/log. That way you can also test for graceful (or draconic) handling of exceptions like the logging directory not existing etc.
In reply to Re: Testing a module that writes logs to a file
by Corion
in thread Testing a module that writes logs to a file
by Hue-Bond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |