Registry / testing / minitest-pretty-diff

minitest-pretty-diff

JSON →
library0.1rbrubygemsunverified

Pretty-prints hashes and arrays before diffing them in MiniTest assertions.

gem install minitest-pretty_diff
INSTALL
IMPORT
SIG · MINITEST-PRETTY-DI
M
minitest-pretty-diff
testingrubyv0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MiniTest::PrettyDiff
require 'minitest/pretty_diff'

Enable pretty-printed diffs in MiniTest

require 'minitest/pretty_diff' require 'minitest/autorun' class TestExample < Minitest::Test include MiniTest::PrettyDiff def test_diff assert_equal({a: 1}, {a: 2}) end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
minitest-pretty-diff — gem install minitest-pretty-diff · libregistry