← Graph

power_assert

tool 2 connections

Ruby gem used as a cheap replacement for custom RSpec matchers. Tests are written by wrapping an arbitrary Ruby expression in curly braces; when the assertion fails, power_assert prints a visual report of the subexpressions and their values, which is often more useful than hand-rolled matchers like `expect(...).to eq_with_tolerance(40, 42)`.

category
library
about
power_assert tool
Suggested as a cheap replacement for custom RSpec matchers.
recommends
power_assert tool
Recommends power_assert as a cheap replacement for RSpec custom matchers.

Provenance

Read by
21 extractions