@hackage main-tester0.1.0.0

Capture stdout/stderr/exit code, and replace stdin of your main function.

See README.md for detail.