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

is it possible to run all specs that are affected by differences between feature branch and master? #415

Open
tansaku opened this issue Jul 17, 2019 · 1 comment

Comments

@tansaku
Copy link

tansaku commented Jul 17, 2019

I've been enjoying being able to run rubocop only on changes in my feature branch, and I was wondering if there was a way to run only specs affected by changes in my feature branch ...?

I'm not a fan of spec runs kicking off when I save - I'd like to be able to control when they start, but detect the set of specs that are influenced in my current feature branch ...

@pocheptsov
Copy link

@tansaku that's what https://github.com/toptal/crystalball is helping to do, you can automate its start with cmd option like:

guard :rspec, cmd: 'bundle exec crystalball' do
...
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants