Module: TestProf::Autopilot::Patches::FactoryProfPatch
- Defined in:
- lib/test_prof/autopilot/patches/factory_prof_patch.rb
Overview
Monkey-patch for ‘TestProf::FactoryProf::Printers::Simple’. Redefined ‘report’ method provides writing artifact to the directory instead of printing report
Defined Under Namespace
Modules: PrinterExt
Constant Summary collapse
- ARTIFACT_FILE =
"factory_prof_report.json"
Class Method Summary collapse
Class Method Details
.patch ⇒ Object
32 33 34 35 |
# File 'lib/test_prof/autopilot/patches/factory_prof_patch.rb', line 32 def patch TestProf::FactoryProf::Printers::Simple.singleton_class.prepend(PrinterExt) TestProf::FactoryProf::Printers::Flamegraph.singleton_class.prepend(PrinterExt) end |