Install the gem and add to the application's Gemfile by executing:
$ bundle add test-unit-ruby-core If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install test-unit-ruby-core Use core_assertions with test/unit as follows:
require"test/unit"require"core_assertions"Test::Unit::TestCase.includeTest::Unit::CoreAssertionsBug reports and pull requests are welcome on GitHub at https://github.com/ruby/test-unit-ruby-core.
The gem is available as open source under the terms of the Ruby's License