1 require "test/unit/ui/testrunnermediator"
6 class TestRunnerMediator
7 alias_method :original_run_suite, :run_suite
9 @notified_finished = false
13 unless @notified_finished
15 elapsed_time = end_time - begin_time
16 notify_listeners(FINISHED, elapsed_time)
21 def notify_listeners(channel_name, *arguments)
22 @notified_finished = true if channel_name == FINISHED