I’m working on a plugin that enables automatic profiling and
benchmarking for unit tests. I need to monkeypatch
Test::Unit::TestSuite to redefine the run method. Based on the example
I see at http://svn.jthopple.com/plugins/count_limit_associations, I
thought I should be able to simply open the class in question in
puts “My Run Method Used”
In init.rb, I simply have
However, running my tests does not seem to use my definition of ‘run’.
Am I missing something?