Skip to content


Subversion checkout URL

You can clone with
Download ZIP
FactoryGirl like experiment in IO
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


= Usine

As I'm learning IO language, I wanted to experiment the possibilities of the language by rewriting something I'm familiar with and having dynamic stuff involved. FactoryGirl ( ) has both. 

=== Experiment explanation

FactoryGirl declare patterns to craft ActiveRecord ( persisted in DB Ruby object ) instances used to simulate real-data while writing tests. Usine just craft vanilla objects in a similar fashion. 

=== Notes 

* I'm still new to IO, implementation may have bugs, weird issues, 
* There's not real test suite, it's just an experiment. Once I've found some interesting stuff to map objects to, maybe to some Mongo db, Usine will make more sense than now. 

=== Thanks 

* jer and people on #IO IRC channel for giving feedback on my code
Something went wrong with that request. Please try again.