test/test_helper.rb in rumonade-0.4.2 vs test/test_helper.rb in rumonade-0.4.3

- old
+ new

@@ -1,7 +1,19 @@ $:.unshift(File.dirname(File.dirname(File.expand_path(__FILE__))) + '/lib') require "rubygems" require "test/unit" + +# Setup code coverage via SimpleCov and post to Coveralls.io +require "simplecov" +require "coveralls" +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter +] +SimpleCov.start do + add_filter "/test/" +end + require "rumonade" # see http://stackoverflow.com/questions/2709361/monad-equivalent-in-ruby module MonadAxiomTestHelpers def assert_monad_axiom_1(monad_class, value, f)