Skip to Main Content

Programming Languages & Frameworks

Mocking Oracle database in unit-tests

1034092Feb 23 2015 — edited Feb 23 2015

In need to write unit tests that uses old node-oracle library and I am looking for options to run tests w/o real database.

  1. Is there in-memory fake database implementations (such as mockcouch for CouchDB or TingoDB for MongoDB)?
  2. Is there real world success stories to use Sinon.Js to mock database?
  3. Should I now rewrite modules to use with current supported library to make this 2 options available or better/simpler implemented?
  4. Should I not write unit-tests now and wait until options 1) and 2) available are?
Post Details
Added on Feb 23 2015