Testing Rails 2 Performance Metrics Implementation in Brakeman
This performance test suite implements browser-based testing for a Rails 2 application, focusing on homepage response metrics. The test validates basic routing and performance characteristics using ActionController::PerformanceTest framework.
Test Coverage Overview
Implementation Analysis
Technical Details
Best Practices Demonstrated
presidentbeef/brakeman
test/apps/rails2/test/performance/browsing_test.rb
require 'test_helper'
require 'performance_test_help'
# Profiling results for each test method are written to tmp/performance.
class BrowsingTest < ActionController::PerformanceTest
def test_homepage
get '/'
end
end