ectypes.js - a library to let you produce test objects easily

14 views
Skip to first unread message

Nicholas Faiz

unread,
Aug 18, 2012, 9:08:05 AM8/18/12
to node...@googlegroups.com
Hi all,

So I just finished the first cut of a library called ectypes.js. It lets you define types of test data to use in tests with any persistence strategy you want to set up. The strategy bit means you can use its approach whether you use MongoDB, MySQL, Redis, or hand roll your own model structures that are saved to file.

I've mentioned it to a few Javascripters and they've been a bit puzzled about it. It's a fairly common practice in the Ruby world (where factory_girl and machinist do the same thing). 

Anyway, let me know if you have suggestions or feedback about it.


Cheers,
Nicholas
Reply all
Reply to author
Forward
0 new messages