Posts tagged testing

Feb28

Unit tests: Are they bad?

testing unittest mocks stubs | comments

Jay fields wrote a blog post about the maintainability of tests. Basically his takeaways were the following:

  1. You should probably write unit tests
Continue reading »

Dec07

Cucumber + Autospec Won't Stop Running!

cucumber autospec sunspot solr rails bdd testing | comments

If you’ve ever had the setup of using cucumber, autospec, and sunspot SOLR in one your rails applications, chances are you’ve tried hitting your SOLR test instance just to verify that the whole stack works.

Continue reading »

Jun08

Acts as Solr 3x Performance Boost on Tests

ruby testing tdd bdd acts_as_solr performance | comments

If you’re using actsassolr and not disabling it on your tests, or want to enable or disable it selectively, try my fork of mattmatt-actsassolr on http://github.com/cyx/actsassolr.

In a nutshell, you put this in your testhelper:

Continue reading »