RubyGems Navigation menu

ditto 0.5.0

Database Independent Test Objects (Ditto) Ditto defines a simple DSL that allows test data to be expressed in a database independent format. When the underlying tables are remapped the QA team don't have to go and change all the historical test cases. There are three parts, all of them versioned: 1. The data declarations 2. The mappings to the underlying database 3. The data itself Idea is to replace an XML dialect with something simpler. See sample at simple_object.xml Notes on DSL ------------ The entity declaration style uses verb and hash only, without a block. Contrast this with mapping style which uses verb, params and then block. Of course mappings need code and so the block usage is natural. This could also be done for the declarations, very similar to the way the gem 'datamapper' does it. Nick Townsend, Oct 2012


  1. 1.0 - October 12, 2012 (13 KB)
  2. 0.6.0 - October 12, 2012 (12.5 KB)
  3. 0.5.0 - October 12, 2012 (9.5 KB)
  4. 0.0.1 - October 12, 2012 (7 KB)
Show all versions (5 total)

Runtime Dependencies:

Development Dependencies:


  • Nick Townsend



Sha 256 checksum:


Total downloads 5,322

For this version 1,327

Show all versions (5 total)

= Copy to clipboard Copied!

= Copy to clipboard Copied!



Required Ruby Version: None