Code examples for concepts discussed in series of titled "DDD in Ruby on Rails", available at https://www.visuality.pl/posts/introduction-to-ddd-in-ruby-on-rails
- clone repo
- run
bundle
- rub
rails db:prepare
This repo has no testing framework. It contains interactive tests, which can be run against your development database.
Test scripts can be run using rails runner. Example:
$ rails r test/customer/model/orm_driven.rb
The test are not aimed to give 100% code coverage (or in fact - no coverage at all). They are here to give you an easy entry point to the implemented concepts. Run them and adjust to see the logic in action.