Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 883 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 883 Bytes

AutomatedCommands

Still using TestUnit? Great! This gem helps automate DHHs commands gem which runs all test inside your Rails console.

Installation

Add this line to your application's Gemfile:

gem 'automated-commands', require: 'automated_commands'

And then execute:

$ bundle

Usage

You basically need to follow two steps to get it up and running:

$ RAILS_ENV=test bundle exec rails c
irb(main):001:0> start_test_listener

That's it! Now when you are changing any files located under test your tests will be automatically be run.

TODO

  • tests

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request