Commit Graph

17 Commits

Author SHA1 Message Date
Marc Siegel 6e37fb8132 Standardize on double-quoted strings 2018-01-14 19:15:09 -05:00
Marc Siegel beca093d7a Exclude on_what helper from test coverage 2015-07-22 14:26:31 -04:00
Marc Siegel 85fa373cb4 Remove simplecov gem on 1.8
Deprecation note indicates it will be removing even
no-op support for 1.8, so clarify now that it won’t
even be installed on those builds.
2015-06-24 16:18:43 -04:00
Marc Siegel e8ade0ac9b Switch from coveralls.io to codecov.io 2015-06-24 16:00:41 -04:00
Marc Siegel 4451e6eee7 Don't explicitly set RSpec expect syntax, as it's the default as of 3.0.0 2014-06-15 14:49:37 -04:00
Marc Siegel 3d39db894c Clarify that a spec requires singleton, not all specs 2014-06-15 14:48:39 -04:00
Marc Siegel 95f2995a56 Remove explicit require of rspec to fix builds
Not sure why this works, or is even possible? But I can reproduce locally that
all non-1.8 builds fail when using a bundler cache unless this line is removed.

My guess is that, when using the --path option to bundler, all gems are being
implicitly required, and requiring rspec a second time is somehow causing issues,
but that doesn't make much sense to me.
2014-06-15 14:43:20 -04:00
Marc Siegel fd38f46903 Extract simple platform checks from Rakefile, gemspec, spec_helper
As a first step to updating dependencies while maintaining compatibility,
extract common simple platform detection helpers.
2014-06-15 13:24:15 -04:00
Ken Dreyer 33834852c7 tests: make simplecov/coveralls optional
If we do not have SimpleCov or Coveralls installed, we should be able to
continue with the rest of the test suite.

This allows the tests to run outside of Bundler if SimpleCov or
Coveralls are not installed.
2014-06-11 16:54:08 -06:00
Marc Siegel ba48a08471 Exclude gems from coverage stats when locally vendored on Travis CI 2014-02-21 15:37:09 -05:00
Marc Siegel 389d2800fa Fix SimpleCov statistics, now that it depends on Docile
Need to un-require and then re-require Docile after SimpleCov is
loaded, so that it can measure test coverage of the library. This
is necessary since SimpleCov began to ship with Docile as a
dependency.
2014-02-21 15:10:13 -05:00
Alexey Vasiliev 0db2dd7795 fix dependency 2014-02-04 20:54:06 +02:00
Marc Siegel f4ae46b326 Exclude /spec/ from code coverage.
Weirdly, on coveralls.io, only Rubinius (rbx-19mode) shows a 1%
lack in coverage due to a line in docile_spec.rb. This should
ensure that the spec files are never measured for code coverage.
2013-07-07 19:09:04 -04:00
Marc Siegel a573b7aab5 Use SimpleCov in addition to publishing to Coveralls.io 2013-07-05 15:46:29 -04:00
Marc Siegel d3bb0a3102 Add setup for coveralls.io code coverage tool 2013-07-05 10:46:19 -04:00
doop fcdf0b82a1 Committing required 'singleton' library. 2013-04-01 12:48:31 +04:00
Marc Siegel 2a6452b432 simplest: instance_eval 2011-12-06 14:46:46 -05:00