Wednesday, November 26, 2014

Database to code test generator memory set or something

Hi all,


I vaguely remember doing this with Object Builder years ago, but surely there are better tools around these days that will do most of the heavy lifting for me?


Basically I really just want to be able to point a util or library at a connection string and have it suck all (or some) of the data out of all the tables it finds and scripts out a hard coded "database" that is a snapshot, that I could use as a "dummy" dataset for development, testing and so on... and if the schema changes (or I discover a particular dataset that is causing an error in production) I can simply "re-script" the code and run a super fast set of tests on an "in-memory" database that I can STOP and debug, and also just 'Break and restart' without having to restore backups or anything like that...


TIA


No comments:

Post a Comment