Skip to content

Instantly share code, notes, and snippets.

@mess110
Created August 31, 2011 08:55
Show Gist options
  • Save mess110/1183109 to your computer and use it in GitHub Desktop.
Save mess110/1183109 to your computer and use it in GitHub Desktop.
/pr0n/ssc> rake1.9 rcov
(in /pr0n/ssc)
rm -r coverage
/usr/bin/ruby1.9 -Ilib:test -S rcov --text-report --exclude "gems/*" -o "coverage" "test/integration/test_appliance.rb" "test/integration/test_repository.rb" "test/integration/test_file.rb" "test/integration/test_package.rb" "test/unit/test_directory_manager.rb"
** WARNING: Ruby 1.9 Support is experimental at best. Don't expect correct results! **
Loaded suite /usr/lib64/ruby/gems/1.9.1/bin/rcov
Started
..........................................................
Finished in 0.567393 seconds.
58 tests, 75 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 59664
+----------------------------------------------------+-------+-------+--------+
| File | Lines | LOC | COV |
+----------------------------------------------------+-------+-------+--------+
|lib/directory_manager.rb | 153 | 131 | 72.5% |
|lib/handlers/all.rb | 40 | 30 | 70.0% |
|lib/handlers/appliance.rb | 78 | 71 | 70.4% |
|lib/handlers/build.rb | 56 | 50 | 32.0% |
|lib/handlers/file.rb | 159 | 148 | 72.3% |
|lib/handlers/helper.rb | 110 | 87 | 69.0% |
|lib/handlers/package.rb | 161 | 117 | 76.1% |
|lib/handlers/repository.rb | 117 | 86 | 70.9% |
|lib/handlers/template.rb | 25 | 22 | 45.5% |
|lib/ssc.rb | 141 | 116 | 35.3% |
+----------------------------------------------------+-------+-------+--------+
|Total | 1040 | 858 | 64.1% |
+----------------------------------------------------+-------+-------+--------+
64.1% 10 file(s) 1040 Lines 858 LOC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment