Geminstaller C0 Coverage Information - RCov

spec/functional/rubygems_api_checker_spec.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
spec/functional/rubygems_api_checker_spec.rb 26 16
100.00%
100.00%

Key

Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.

Coverage Details

1 dir = File.dirname(__FILE__)
2 require File.expand_path("#{dir}/../helper/spec_helper")
3 
4 # This spec is intended to identify breakages caused by changes in the RubyGems API, 
5 # specifically ones which cause the TestGemHome and EmbeddedGemServer to break,
6 # which in turn cause all functional tests to break.  This is also an easy place to debug
7 # said breakages...
8 describe "RubyGems API" do
9   before(:each) do
10     GemInstaller::TestGemHome.use
11     @registry = GemInstaller::create_registry
12     @gem_runner_proxy = @registry.gem_runner_proxy
13   end
14 
15   if GemInstaller::RubyGemsVersionChecker.matches?('>=1.1.1')
16   # we only care about latest version of RubyGems
17   it "should return the expected fixture environment" do
18     gem_runner_args = ["env"] + options_for_testing
19 
20     output = @gem_runner_proxy.run(gem_runner_args)
21     #puts output.join("\n")
22     output.join.should match(/GEM PATHS.*test_gem_home/m)
23     
24   end
25   end
26 end

Generated on Mon May 10 23:40:29 -0700 2010 with rcov 0.9.8