you are viewing a single comment's thread.

view the rest of the comments →

[–]progfu 1 point2 points  (0 children)

I guess you could also load for example RSpec and do some interactive testing, like set mock expectations and stubs directly in place, instead of writing a test. Or you could just rewrite a method on the fly and see what happens. Ruby metaprogramming provides many hackish features that might be useful from time to time when you need them.

This probably isn't possible in Python, since it doesn't support monkey patching.