Add automated CI tests for the GAP.prompt() #460
Labels
help wanted
Extra attention is needed
kind: enhancement
New feature or request
topic: tests CI coverage
Milestone
Right now I am not aware of a "good" way to test GAP.prompt(); but I'd really like to have one, so that when an issue like #458 pops up, then the fix (here in #459) can also include a test that verifies the issue is gone.
One way to go about this might be to use pexpect which can be used to automate interactive command line utilities. (Of course if somebody knows a pure-Julia way to do the same, I'd also be happy to use that). This can also be handy for other kinds of tests, as it allows to emulate what an actual user would experience very closely.
I think we need to do roughly this:
pip install pexpect
into.travis.yml
etc
which performs the required test usingpexpect
.travis.yml
The text was updated successfully, but these errors were encountered: