xunit
ruby on rails で本格的にアプリ作る前に、ruby の単体テストってどんなもんかごにょごにょと書いてみた。 テストされるコードは以下の適当なコード。 class Foo def foo "foo" end def bar(arg) raise ArgumentError end def hoge throw :hoge_error end de…
ruby on rails で本格的にアプリ作る前に、ruby の単体テストってどんなもんかごにょごにょと書いてみた。 テストされるコードは以下の適当なコード。 class Foo def foo "foo" end def bar(arg) raise ArgumentError end def hoge throw :hoge_error end de…