I’m doing with small project using MongoDB.
But MongoDB not have table so it is not easy for me to Test Data of it
(Test Data with Relationship,query…)
I want to use Sqlite3 for Test but in this project haven’t got any
Migration.
Please advice me how to do for this problem?
Thanks
You should be able to use MongoDB and Rails app with all the test
frameworks you’re used to. Rspec, TestUnit, etc. Are you using an ORM
like
MongoMapper or Mongoid?
In terms of data, it’s not straightforward to migrate from a NoSQL to
SQL
db. If you really want to do that, you’ll probably have to write an ETL
script to do that.
Hope it helps,
Scott