NUBIC / shenandoah

Adds support for command-line and in-browser JavaScript unit tests in your buildr, rails, or other rake-using project
MIT License
10 stars 3 forks source link

Support autospec-style automatic refresh and failure notifications for the browser runner #8

Open rsutphin opened 14 years ago

rsutphin commented 14 years ago

My normal operating procedure when doing client-side BDD with shenandoah is to open several browsers to the spec I'm working on and, as I work, periodically manually refresh each one to verify that the specs are still passing.

It would be nice to have the browsers automatically do this for me and notify me when something fails. This will require:

Automatic refresh should not be on by default -- it should be controllable in the browser when looking at a single spec or at the multirunner.

benrady commented 14 years ago

Have you looked at watchr? Might give you some of what you want.

rsutphin commented 14 years ago

Thanks for the suggestion. However, since the part of the system that needs to know when the test files change is running in javascript in a web browser, I don't think I can use it.

I could push the changes down from the server (instead of having the spec runner clients pull them), but that would be quite a bit more complicated and I don't think it's warranted.

rsutphin commented 14 years ago

Consider using faye for the browser-server notifications.