New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`rake test` takes long time #21

banyan opened this Issue Mar 17, 2013 · 2 comments


None yet
2 participants
Copy link

banyan commented Mar 17, 2013

First of all, thanks for creating great tool!

I have one question.
When I run $ bundle exec rake test, it takes so long time.

vagrant@rails-dev-box:/vagrant/rails$ time bundle exec rake test
real    198m0.139s
user    46m26.634s
sys     52m15.368s

For some reason, It takes almost 3 hours. I'm using Mac (Processor 2.53 GHz Intel Core 2 Duo, Memory 8 GB 1067 MHz DDR3, Software Mac OS X Lion 10.7.5 (11G63)).

I'm wondering that am I missing something? or is this expected behavior?

(When rails developers fixes or add some code, doesn't they run rake test? they run test only what they think related?)



This comment has been minimized.

Copy link

fxn commented Mar 17, 2013

I have not measured this but I am almost sure access to the mounted directory is much slower than access to a local checkout inside the VM. In addition, the railties test suite takes a lot of time. I guess that explains your numbers.

In practice people only run the part of the suite relevant to their patch. We have Travis to catch unexpected breakages elsewhere.


This comment has been minimized.

Copy link

banyan commented Mar 17, 2013


I got it ☀️
I appreciate your thoughts and feedback!

@banyan banyan closed this Mar 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment