sio / bash-complete-partial-path

Enhanced file path completion in bash (like in zsh)
Apache License 2.0
54 stars 2 forks source link

Automated tests for bash completion #11

Closed sio closed 4 years ago

sio commented 4 years ago

It would be nice to have automated tests for this completion script. Python offers tools to do that (pexpect).

See how others do it:

Unfortunately, pexpect does not work on Windows due to relying on ptys.

Work is being done in tests branch. This is what needs to be tested:

sio commented 4 years ago

The task was too interesting to delay :) I started implementing automated tests for bash-complete-partial-path in tests.

Top post will be updated with progress checklist.

sio commented 4 years ago

A lot of work had been merged to master. That includes:

This issue will remain open to track progress for implementing the rest of test suite.

sio commented 4 years ago

All listed test cases are implemented, changes have been merged to master. 🎉