I have installed minitest rails like this
group :development, :test do
gem 'minitest-rails'
gem 'minitest-rails-capybara'
gem 'capybara'
gem 'miniskirt'
gem 'jasminerice'
end
My minitest helper looks like this
https://gist.github.com/4393956
I am having several odd issues.
When I run rake, rake test or rake minitest the startup seems to take
forever. Then the tests run and then it hangs for some time and then
spits out an error. This is output
huge pause
...... tests run ---
6 tests, 4 assertions, 1 failures, 2 errors, 0 skips
Run options:
# Running tests:
----- Pause here too ----
Finished tests in 0.010323s, 0.0000 tests/s, 0.0000 assertions/s.
0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
Errors running minitest:models! #<RuntimeError: Command failed with
status (1): [ruby -I"lib:test" -I"/Users/tim/.rvm/gems/ruby-1.9.3-p286/
gems/rake-10.0.3/lib" "/Users/tim/.rvm/gems/ruby-1.9.3-p286/gems/
rake-10.0.3/lib/rake/rake_test_loader.rb" "test/models/**/
*_test.rb" ]>
Also autotest is not working, it doesn't run the tests and doesn't
notice changes.
Guard does notice the changes (I had the fiddle with the config a bit)
but doesn't run them all when you start. When you hit return to run
all the tests it doesn't run any.
Guardfile looks like this.
https://gist.github.com/4393980
Any help would be much appreciated.