dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.62k stars 66 forks source link

Add E2E tests #60

Closed dundalek closed 5 years ago

dundalek commented 6 years ago

Currently we test by either calling eval directly or spawning a special helper process.

It would be good to add tests that spawn the closh itself and send commands via stdin. This would also allow us to test UI interaction (e.g. history search).

There might be some trickiness to figure out to wait for the process to start and parsing out the prompt.

dundalek commented 5 years ago

Closing for now, will address it during readline reimplementation.