DESCRIPTIONconverts a unit test file using regular Test::Unit syntax to one using the nicer shoulda syntax, i.e. it will convert an existing test file with names like
- def test_should_do_stuff
to one using the new syntax:
- should "be super cool" do
A copy of the old file will be left under /tmp/ in case this script just seriously screws up.
ABOUTThis manual page was written by Antonio Terceiro <[email protected]> for the Debian GNU/Linux system, but may be used by others. It was based on convert_to_shoulda_syntax's help output, i.e., when called without proper arguments, and with the help of help2man.