Skip to content

Commit

Permalink
Merge pull request #32 from RoboticCheese/jdh-add-coveralls
Browse files Browse the repository at this point in the history
Add Coveralls support, maybe
  • Loading branch information
hartmantis committed Dec 10, 2013
2 parents 806aff7 + f7b99ca commit 79c4563
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
@@ -1,6 +1,7 @@
[![Gem Version](https://badge.fury.io/rb/kitchen-openstack.png)](http://badge.fury.io/rb/kitchen-openstack)
[![Build Status](https://travis-ci.org/RoboticCheese/kitchen-openstack.png?branch=master)](https://travis-ci.org/RoboticCheese/kitchen-openstack)
[![Code Climate](https://codeclimate.com/github/RoboticCheese/kitchen-openstack.png)](https://codeclimate.com/github/RoboticCheese/kitchen-openstack)
[![Coverage Status](https://coveralls.io/repos/RoboticCheese/kitchen-openstack/badge.png)](https://coveralls.io/r/RoboticCheese/kitchen-openstack)
[![Dependency Status](https://gemnasium.com/RoboticCheese/kitchen-openstack.png)](https://gemnasium.com/RoboticCheese/kitchen-openstack)

# Kitchen::OpenStack
Expand Down
3 changes: 3 additions & 0 deletions kitchen-openstack.gemspec
Expand Up @@ -29,6 +29,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'cane'
spec.add_development_dependency 'countloc'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov-console'
spec.add_development_dependency 'coveralls'
end

# vim: ai et ts=2 sts=2 sw=2 ft=ruby
3 changes: 2 additions & 1 deletion spec/kitchen/driver/openstack_spec.rb
Expand Up @@ -16,11 +16,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

require_relative '../../spec_helper'

require 'logger'
require 'stringio'
require 'rspec'
require 'kitchen'
require_relative '../../spec_helper'

describe Kitchen::Driver::Openstack do
let(:logged_output) { StringIO.new }
Expand Down
13 changes: 13 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -15,8 +15,21 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'rspec'
require 'simplecov'
require 'simplecov-console'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
Coveralls::SimpleCov::Formatter,
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::Console
]
SimpleCov.minimum_coverage 90
SimpleCov.start

require_relative '../lib/kitchen/driver/openstack'

# vim: ai et ts=2 sts=2 sw=2 ft=ruby

0 comments on commit 79c4563

Please sign in to comment.