iuux / adrx-quicknotes

Quick Notes functionality for Indiana University AdRx (Advising Records) system.
MIT License
0 stars 0 forks source link

Intercept AJAX calls, so UI can rely on fixtures instead of backend #37

Closed basham closed 9 years ago

basham commented 9 years ago

For more rapid testing, in case backend is down or not yet ready.

basham commented 9 years ago

http://canjs.com/2.1/docs/can.fixture.html https://orchestrate.io/blog/2014/06/13/how-to-test-code-that-uses-http-apis-using-node-js-mocha-and-nock/ http://appendto.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/ https://gist.github.com/suprememoocow/2823600 https://github.com/algolia/faux-jax

basham commented 9 years ago

Close in favor of #44 technique.