alexgb / guard-konacha

Automatically run konacha tests through Guard
MIT License
31 stars 17 forks source link

Run all Konacha tests on starting Guard. #14

Closed kazekent closed 11 years ago

kazekent commented 11 years ago

Quick and dirty change to do run of all tests on Guard startup, as guard-rspec does.

Not the cleanest solution, but with external processes there seldom is.

NOTE: I ran into an issue where I had to explicitly add: require 'capybara/poltergeist' in my Guardfile for this to work, but that just might be issues with my local setup.

lcoq commented 11 years ago

@kazekent FYI I also had to require 'capybara/poltergeist' in my Guardfile. I suspect it to be a global setup issue.

alexgb commented 11 years ago

Thanks. I changed Runner to always wait for the server to start, which simplifies this case and also prevents edge cases where tests may attempt to run before the server has started.

Yes, requiring 'capybara/poltergeist' is expected behavior. I've made this more explicit in Readme.