![]() Here you can find a spec helper and a Guardfile configuration based on Spork. Those solutions will preload all libraries you (usually) do not change and reload controllers, models, view, factories and all the files you change most often. To solve this problem use solutions like Zeus, Spin or Spork. This can take time and it can break your development flow. When running a test on Rails the whole Rails app is loaded. Find an example vim keybinding here and learn more about guard-rspec. Then, you can use a rake task to run the entire suite before pushing code. Sometimes your TDD workflow works best with a keybinding that makes it easy to run just the examples you want when you want to. Guard is a fine tool but as usual it doesn't fit all of your needs. ![]() Good describe 'GET /devices' do let! ( :resource ) end
0 Comments
Leave a Reply. |