Fabian Homborg
aafdaea2f9
Port wait test to pexpect
2020-06-13 15:21:40 +02:00
Fabian Homborg
15a789dda0
Fix fkr tests
...
I had fish_key_reader *installed*, so this worked for me.
But really we have the path in $fish_key_reader, so we want to use
that variable.
2020-06-08 23:19:57 +02:00
Fabian Homborg
f66edfdec2
Port generic.expect to pexpect
...
Removes a dumb workaround. Huzzah!
2020-06-08 22:57:46 +02:00
Fabian Homborg
339a5a2196
Port fkr expect to pexpect
2020-06-08 22:52:18 +02:00
Fabian Homborg
cbefdb775d
tests: Sleep for a bit
...
Gosh dangit Travis
2020-06-08 18:49:03 +02:00
Fabian Homborg
10fbdd34e7
Reformat pexpects
...
These are now python scripts
2020-06-08 17:33:04 +02:00
Fabian Homborg
3c6055c3e0
Move exit test to pexpect
...
This needs some subprocess magic, but otherwise it's nicely straightforward.
2020-06-08 17:31:18 +02:00
Fabian Homborg
9d523c7589
Move complete test to pexpect
2020-06-08 17:16:09 +02:00
Fabian Homborg
927aa60349
Move bind_mode_events test to pexpect
2020-06-08 17:12:49 +02:00
Fabian Homborg
7076880da9
Move commandline test to pexpect
2020-06-08 17:09:29 +02:00
ridiculousfish
4ae4314e63
Improve pexpect output
...
Make it easier to use pexpect and to understand its error messages.
Switch to a style in tests using bound methods, which makes them
less noisy to write.
2020-06-07 14:53:17 -07:00
ridiculousfish
3b7feb38e9
Add pexpect-based interactive testing framework
...
This adds a new interactive test framework based on Python's pexpect. This
is intended to supplant the TCL expect-based tests.
New tests go in `tests/pexpects/`. As a proof-of-concept, the
pipeline.expect test and the (gnarly) bind.expect test are ported to the
new framework.
2020-06-07 14:46:21 -07:00