Browse Source

lets try coveralls.io

phinze 12 years ago
parent
commit
9236a74393
  1. 1
      .gitignore
  2. 1
      Gemfile
  3. 17
      Gemfile.lock
  4. 1
      README.md
  5. 2
      test/cask/dsl_test.rb
  6. 6
      test/test_helper.rb

1
.gitignore

@ -1 +1,2 @@
.ruby-version
coverage

1
Gemfile

@ -4,4 +4,5 @@ group :test do
gem 'rake'
gem 'minitest', '4.7.0'
gem 'minitest-colorize'
gem 'coveralls', :require => false
end

17
Gemfile.lock

@ -1,15 +1,32 @@
GEM
remote: https://rubygems.org/
specs:
colorize (0.5.8)
coveralls (0.6.7)
colorize
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
thor
mime-types (1.23)
minitest (4.7.0)
minitest-colorize (0.0.5)
minitest (>= 2.0)
multi_json (1.7.2)
rake (10.0.4)
rest-client (1.6.7)
mime-types (>= 1.16)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
thor (0.18.1)
PLATFORMS
ruby
DEPENDENCIES
coveralls
minitest (= 4.7.0)
minitest-colorize
rake

1
README.md

@ -2,6 +2,7 @@
[![Build Status](https://travis-ci.org/phinze/homebrew-cask.png?branch=master)](https://travis-ci.org/phinze/homebrew-cask)
[![Code Climate](https://codeclimate.com/github/phinze/homebrew-cask.png)](https://codeclimate.com/github/phinze/homebrew-cask)
[![Coverage Status](https://coveralls.io/repos/phinze/homebrew-cask/badge.png?branch=master)](https://coveralls.io/r/phinze/homebrew-cask)
Let's see if we can get the elegance, simplicity, and speed of Homebrew for the
installation and management GUI Mac applications like Google Chrome and Adium.

2
test/cask/dsl_test.rb

@ -57,7 +57,7 @@ describe Cask::DSL do
end
instance = CaskWithLinkables.new
Array(instance.linkables[:app]).must_equal %w[Foo.app Bar.app]
Array(instance.linkables[:app]).sort.must_equal %w[Bar.app Foo.app]
end
it "allow linkables to be set to empty" do

6
test/test_helper.rb

@ -1,3 +1,4 @@
require 'bundler'
require 'bundler/setup'
@ -31,8 +32,9 @@ Cask.default_tap = 'phinze-testcasks'
# our own testy caskroom
Cask.caskroom = HOMEBREW_PREFIX.join('TestCaskroom')
# silence some extraneous UI messages for tests
ENV['QUIET_TESTS'] = '1'
# coveralls.io integration
require 'coveralls'
Coveralls.wear!
class TestHelper
# helper for test casks to reference local files easily

Loading…
Cancel
Save