[rspec-users] Speeding up RSpec Tests

Adam Sroka adam.sroka at gmail.com
Wed Feb 13 22:51:08 UTC 2013


Why would you need to generate models with passwords for every spec? Why
would you need to generate a password for *any* spec that wasn't
specifically about authentication?

It seems like hacking BCrypt is a way to avoid the design problem rather
than just taking it on.


On Wed, Feb 13, 2013 at 1:22 PM, Boob Marleyy <lists at ruby-forum.com> wrote:

> Hi there,
>
> In a blog post I've seen that it's really possible to speed up some of
> the rspec tests by small tweaks.
> As far as I understand, it is about BCrypt and the cost of encryption
> algorithms.
> More information:
> http://blog.syncopelabs.co.uk/2012/12/speed-up-rspec-test.html
>
> Can anyone suggests me more techniques like that one. Because I'm
> feeling that my tests are going slow while the size of my project
> increases.
>
> Regards,
> Bob
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20130213/80ebd073/attachment-0001.html>


More information about the rspec-users mailing list