# frozen_string_literal: true require 'simplecov' require 'coveralls' SimpleCov.formatters = [ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter, ] Coveralls.wear! do add_filter '/spec/' end require 'rspec' require 'rambling-trie' ::SPEC_ROOT = File.dirname __FILE__ RSpec.configure do |config| config.color = true config.tty = true config.formatter = :documentation config.order = :random config.run_all_when_everything_filtered = true config.raise_errors_for_deprecations! end require 'support/config' %w( a_compressible_trie a_serializable_trie a_serializer a_trie_data_structure a_trie_node a_trie_node_implementation ).each do |name| require File.join('support', 'shared_examples', name) end