Using the Watch gem and YAML configuration compatible with Ceedling's project.yml, this simple code allows you to just code and let Ceedling run your tests in the background.
gem install ceedling-autorake
Add something like this to your project.yml file:
:autorake:
:paths:
- tests
- src
- mocks
-
Add these lines to your project's
rakefile.rb
:require "Autorake" task :auto do Autorake.new "project.yml" end
-
Now run:
rake auto
-
Cackle like an evil genius.