Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Setup coveralls

  • Loading branch information...
commit 2308f6f394c13a40f94b146a90b98f2abd72426f 1 parent bba9557
@chischaschos authored
View
1  .gitignore
@@ -2,3 +2,4 @@ capybara*
.bundle
log/*
db/*
+coverage
View
2  Gemfile
@@ -7,6 +7,7 @@ gem 'data_mapper'
gem 'dm-sqlite-adapter'
gem 'ejs'
gem 'haml'
+gem 'rake'
gem 'rack-contrib'
gem 'rack-cors', require: 'rack/cors'
gem 'sinatra'
@@ -22,6 +23,7 @@ end
group :test do
gem 'capybara-webkit'
+ gem 'coveralls', require: false
gem 'cucumber'
gem 'database_cleaner'
gem 'json_spec'
View
21 Gemfile.lock
@@ -18,6 +18,12 @@ GEM
execjs
coffee-script-source (1.7.0)
columnize (0.3.6)
+ coveralls (0.7.0)
+ multi_json (~> 1.3)
+ rest-client
+ simplecov (>= 0.7)
+ term-ansicolor
+ thor
cucumber (1.3.10)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
@@ -80,6 +86,7 @@ GEM
dm-core (~> 1.2.0)
do_sqlite3 (0.10.13)
data_objects (= 0.10.13)
+ docile (1.1.3)
ejs (1.1.1)
execjs (2.0.2)
fastercsv (1.5.5)
@@ -109,6 +116,9 @@ GEM
rack
rack-test (0.6.2)
rack (>= 1.0)
+ rake (10.1.1)
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
@@ -119,6 +129,11 @@ GEM
rspec-mocks (2.14.4)
shotgun (0.9)
rack (>= 1.0)
+ simplecov (0.8.2)
+ docile (~> 1.1.0)
+ multi_json
+ simplecov-html (~> 0.8.0)
+ simplecov-html (0.8.0)
sinatra (1.3.6)
rack (~> 1.4)
rack-protection (~> 1.3)
@@ -129,7 +144,11 @@ GEM
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
stringex (1.5.1)
+ term-ansicolor (1.3.0)
+ tins (~> 1.0)
+ thor (0.18.1)
tilt (1.4.1)
+ tins (1.0.0)
uuidtools (2.1.4)
xpath (2.0.0)
nokogiri (~> 1.3)
@@ -140,6 +159,7 @@ PLATFORMS
DEPENDENCIES
capybara-webkit
coffee-script
+ coveralls
cucumber
data_mapper
database_cleaner
@@ -151,6 +171,7 @@ DEPENDENCIES
launchy
rack-contrib
rack-cors
+ rake
rspec
shotgun
sinatra
View
2  README.md
@@ -1,5 +1,7 @@
## A TODO list management web application and API
+[![Coverage Status](https://coveralls.io/repos/chischaschos/sinatra-todo/badge.png?branch=master)](https://coveralls.io/r/chischaschos/sinatra-todo?branch=master)
+
- I can have my todo list displayed.
- I can manipulate my list (add/remove/modify entries).
- Assign priorities and due dates to the entries.
View
5 Rakefile
@@ -0,0 +1,5 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task default: :spec
View
3  spec/spec_helper.rb
@@ -2,6 +2,9 @@
ENV['RACK_ENV'] = 'test'
+require 'coveralls'
+Coveralls.wear!
+
require 'todo'
require 'database_cleaner'
require 'json_spec'
Please sign in to comment.
Something went wrong with that request. Please try again.