If you want a user to press Ctrl+C, you can send it a SIGINT, a interrupt signal instead.
You can either let the user provide values through configuration files or environment variables.
If you need interaction I'd suggest to skip the interactive tests unless an environment variable like $ENV{TEST_INTERACTVE} or something is set.
In reply to Re: Interactive tests
by moritz
in thread Interactive tests
by Cagao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |