3 ms·
You might be interested in contest[1], which adds a thin layer of sugar over Test::Unit. In addition to nested contexts, it also lets you provide your test nam
by phiggy 16y ago
You might be interested in contest[1], which adds a thin layer of sugar over Test::Unit.
In addition to nested contexts, it also lets you provide your test name as a string rather than a method name, to avoid wearing out your underscore key with "def test_new_instance_should_respond_to_foo".
[1] https://github.com/citrusbyte/contest/blob/master/lib/contest.rb https://github.com/citrusbyte/contest/blob/master/lib/contes...