generated from mattbrictson/gem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interactive watch command for running tests based on git status (#9)
* Add interactive watch command for running tests based on git status The `git ls-files` command allows us to get a list of all files that have been added or changed since the last commit. This is a convenient way to determine what tests to run. This commit adds a "d" keypress command to the watch mode. When the "d" key is pressed, we check git for new and changed files, then find the corresponding test files, and run those. * Refactor by extracting methods to simplify event loop
- Loading branch information
1 parent
6d58ce3
commit 7648dc1
Showing
4 changed files
with
122 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters