relevance / blue-ridge

Framework for JavaScript Testing (currently a Rails Plugin)
http://groups.google.com/group/blueridgejs
MIT License
480 stars 40 forks source link

Generate fixtures on the fly from the Rails itself #28

Open charleseff opened 15 years ago

charleseff commented 15 years ago

as opposed to a static HTML file which will quickly go stale.

Also: add the ability to call the Rails app via ajax calls.

charleseff commented 15 years ago

As an addendum, allow asynchronous Javascript calls to the app from tests to hit a running Rails app and return live data.

coreyhaines commented 14 years ago

Instead of having your javascript call a live rails app, you should be isolating it, perhaps stubbing out the $.ajax method in jQuery. Return the appropriate data, so you can have better control over your environment.

ianlotinsky commented 14 years ago

My vote is for the ability to use output from requests to Rails as fixtures instead of static HTML.