RubyGems.org

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

installgem install ditto -v 0.5.0
Authors

Nick Townsend

2,801 total downloads 743 for this version
Owners

412ae4b4d134d7dae0db10f14bcba783

Gemfile
gem 'ditto', '~> 0.5.0'
Versions
  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
  1. data_mapper >= 1.2.0
Development Dependencies
  1. rspec >= 2.11