Tips – Print test name and file name when testing

Posted by AllenWei | Posted in RubyOnRails, Tips | Posted on 02-03-2010-05-2008

View Comments





<breprecated-

See this tips-print-test-name-and-file-name-when-testing-final-solution

Add following lines in test/test_helper.rb, under class ActiveSupport::TestCase

 def setup
    puts "== #{@method_name} : #{self.class.name} =="
  end



blog comments powered by Disqus

Ads Plugin created by Jake Ruston's Wordpress Plugins - Powered by and football database.