cutest
cutest copied to clipboard
Isolated tests in Ruby.
Is this the intended behavior? ``` ruby scope do setup do 5 end test do |i| assert_equal i, 5 end end scope do test do |i| assert_equal i,5 ##Wooah, I...
Since commit f6b140c `assert_raise` started using the second argument of `assert` for error messages. The error message was always `"got nil instead"`. The reason is that the local variable `exception`...
Currently `cutest` exits when the first error occur. Would you be interested in adding a flag `-b` to make that optional? The reason is that sometimes it is useful to...
And make it work with e.g. gemsets. This works: https://gist.github.com/djanowski/afed5a759687921f0569
To be consistent with `assert_raise` (which returns its exception), make `assert` and `assert_equal` return a value more informative than `nil`. - `assert` will return the value it has been passed....
Closes #27.