First let me say up front that this library is an experiment. I don’t even know if it is a good idea yet but if you are feeling adventurous I encourage you to take the red pill and see how deep this rabbit hole goes.
So the basic goal of this library is to allow you put your test right next to the code being tested. For example:
def multiply(a, b)
a * b
assert_equal 6, multiply(2, 3)
assert_equal 10, multiply(5, 10)
assert_not_equal 42, multiply(6, 9)
Lets go over a few of the key features of in-line testing.