On 8/18/06, Keith Morrison <[EMAIL PROTECTED]> wrote:

You could define a fake test, but then the test and assertion count will
be off.

A simple:

 def default_test
 end

In your abstract test case will prevent the failure, and while you
will see an extra test, there will be no assertion inflation.

I know that the default_test is pretty much universally hated (Ryan
Davis has a colorfully named test method in one of his base classes to
prevent it from failing) and I agree that it is/was a bad idea. I'm
working on something that I'm hoping will greatly improve the ability
for frameworks like Rails to do "frameworky stuff" for testing without
completely monkey-patching the testing framework. More details when I
have something concrete to show.

HTH,


--
Nathaniel Talbott

<:((><
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to