Tracking Down Slow-Running Examples in RSpec

As the number of tests goes up in your Rails project, you'll find yourself spending more and more time waiting for the RSpec to finish. This article shows you how to track down slow-running examples to target for refactoring.

Rcov 0.9.0 Now Available

Announces a version 0.9.0 of the test coverage tool RCov, now with significant user interface improvements and support for custom CSS.


HTML and CSS Enhancements in RCov 0.9.0

Describes UI and UX enhancements to rcov, the code coverage tool, including including dynamic filtering, improved HTML output, and support for custom CSS.

Writing Specs for Controller Actions that Return JSON

Demonstrates a method for writing RSpec tests to test output from Ruby on Rails controllers that return JSON content.


Making RCov Pretty with Custom CSS

A new fork of RCov delivers improved HTML output and support for custom CSS.

DRY Your Tests With Dynamic Specs in RSpec

Use reflection and code generation to automatically created tests in RSpec for named scopes in Ruby on Rails ActiveRecord models.


Using RSpec to Test ActiveRecord Associations for Arbitrary Models

Demonstrates a method for using RSpec to test ActiveRecord models that are not backed by a database table.