Profiling minitest examples with Stackprof15 Dec 2015
Today I read a nice blog post by Kir Shatrov about Profiling RSpec examples with Stackprof and I wondered if I could repeat this trick with minitest? This question is very important for me because I ofen use minitest for my job and OSS projects. Also a lot of cool projects use minitest (for example, sidekiq, rails, lotus, etc).
In reality, to do that in minitest as easy as in RSpec, and the only difference is that you need to install a separate gem.
- Firstly you have to install minitest-around gem;
- And secondly you have to add this block of code to your