Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interactive watch command for running tests based on git status #9

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

mattbrictson
Copy link
Owner

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.

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.
@mattbrictson mattbrictson added ✨ Feature Adds a new feature automerge Automatically merge PR once all required checks pass labels Feb 22, 2024
@kodiakhq kodiakhq bot merged commit 7648dc1 into main Feb 22, 2024
6 checks passed
@kodiakhq kodiakhq bot deleted the git-watch branch February 22, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once all required checks pass ✨ Feature Adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant