Guard::Reloader automatically load class definition then run your tests on file modification.
Fajar Firdaus
gem "guard-reloader", "~> 0.1.1"