Download:
Download(30.1 MB, 7:51)
Alternativer Download für iPod & Apple TV(27.3 MB, 7:51)
Resourcen:
- Episode #166: Metric Fu
- Metric Fu
- Metrical
- Cover Me
- SimpleCov
- Rails Best Practices
- railscasts.com source code
Quellcode:
[bash]
gem install metrical
metrical
bundle
rake spec
open coverage/index.html
gem install rails_best_practices
rails_best_practices -f html –with-textmate
open rails_best_practices_output.html
[/bash]
[ruby]
# Gemfile
gem "simplecov", :require => false, :group => :test
# .metrics
MetricFu::Configuration.run do |config|
config.metrics -= [:rcov]
end
[/ruby]