Commit Graph

34 Commits

Author SHA1 Message Date
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 d2dd6b97d8 (cosmetic: replace double-quoted string with single-quoted) 2014-04-16 12:21:42 -04:00
Marc Siegel de03c2f5d7 (cosmetic: fix indentation in spec) 2014-04-16 12:12:15 -04: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 626feeb30b rbx error msg 2014-02-04 22:12:12 +02:00
Alexey Vasiliev 1b9f33c494 test case 2014-02-04 21:44:38 +02:00
Alexey Vasiliev 9ea31897da specs 2014-02-04 20:56:49 +02:00
Alexey Vasiliev 0db2dd7795 fix dependency 2014-02-04 20:54:06 +02:00
Marc Siegel 41b7721f4b (cosmetic: replace eligible double quoted strings with single quotes) 2013-11-26 15:53:45 -05:00
Marc Siegel ecb259db1f Fix spec descriptions to reflect module, rather than instance, methods 2013-07-29 00:57:19 -04:00
Marc Siegel abd75d6290 Add specs of frozen string and number for #dsl_eval_immutable 2013-07-28 23:55:14 -04:00
Marc Siegel 448a1155f6 First light on Docile#dsl_eval_immutable 2013-07-28 19:22:45 -04:00
Marc Siegel cb6e5bbe65 Add pending spec for Docile#dsl_eval_immutable 2013-07-28 19:21:08 -04:00
Marc Siegel f2806d786b Begin to bring specs in line with betterspecs.org standards 2013-07-28 18:20:59 -04:00
Marc Siegel 5db552b200 add test of earlier fix for FCB#instance_variables type on 1.8.x 2013-07-25 11:29:34 -04: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 b7d43ac57e Add test coverage that proxy correctly re-raises NoMethodError 2013-07-05 16:34:26 -04:00
Marc Siegel c59b06bef7 Add test coverage that __id__ method is *not* proxied 2013-07-05 16:33:55 -04:00
Marc Siegel d6f88c5d71 (cosmetic: whitespace) 2013-07-05 16:07:25 -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
doop 6f08a73a00 Testing local variable scope on dispatch pattern. 2013-04-01 09:32:07 +04:00
doop 9b86a4075a Testing scope in a dispatch environment. 2013-04-01 08:54:06 +04:00
doop 952b79ab0d Testing the dispatch pattern. 2013-04-01 08:44:23 +04:00
doop dbc7f24043 Added tests for parameterized blocks. 2013-04-01 07:53:44 +04:00
Marc Siegel 831ac8137a fix for ruby 1.8.x
Signed-off-by: Marc Siegel <marc@usainnov.com>
2012-10-29 15:24:59 -04:00
Marc Siegel c72679b3e0 fix names of two tests 2011-12-06 19:06:55 -05:00
Marc Siegel bce3530787 added Pizza/PizzaBuilder to docs and to specs 2011-12-06 18:41:43 -05:00
Marc Siegel f45c3cf8d7 support instance variables from block context in multi-level dsl 2011-12-06 16:21:11 -05:00
Marc Siegel d7fd1a9450 support instance variables from block context in one-level dsl 2011-12-06 15:34:46 -05:00
Marc Siegel c04587a03f support local variable and method fallback contexts 2011-12-06 15:06:28 -05:00
Marc Siegel 2a6452b432 simplest: instance_eval 2011-12-06 14:46:46 -05:00