Module: Profiler::TestHelpers::MinitestSupport::RunWrapper
- Defined in:
- lib/profiler/test_helpers/minitest_support.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
26 27 28 29 30 31 32 33 34 35 |
# File 'lib/profiler/test_helpers/minitest_support.rb', line 26 def run Profiler::TestProfiler.profile( test_name: "#{self.class.name}##{name}", test_file: self.class.instance_method(name).source_location&.first || "", test_line: self.class.instance_method(name).source_location&.last || 0, framework: :minitest ) { super } rescue NameError super end |