Open Bug 1387304 Opened 7 years ago Updated 2 years ago

Add fuzzy auto-completion of directories / flavors to |mach test| (and other test commands)

Categories

(Testing :: General, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: ahal, Unassigned)

Details

There's a new ./mach try fuzzy command that uses fzf to fuzzy select tasks.

We can make use of fzf in other places in-tree. Fzf already provides fuzzy auto-completion for certain common shell commands (type **<tab> on a shell to activate it). We could use a similar activation method to enter fuzzy completion for commands like |mach test|, |mach mochitest|, etc..

See:
https://github.com/junegunn/fzf#fuzzy-completion-for-bash-and-zsh
Jgraham also had the idea of using fzf's --query mode with mach test's --preset
Priority: -- → P3
Priority: P3 → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.