🕷 software projects

by ryan davis



sitemap

minitest-gcstats

A minitest reporter showing top tests by number of allocations.

A minitest plugin that adds a report of the top tests by number of objects allocated.

  • Minitest plugin. No cost if you don’t activate it.
  • Reports top N tests by number of objects allocated.

    % rake TESTOPTS=-g Run options: -g –seed 59120

    Running:

    …………………………………………………………………… …………………………………………………………………… …………………………………………………………………… ……………………………………………

    Finished in 0.145769s, 1955.1482 runs/s, 5769.4023 assertions/s.

    285 runs, 841 assertions, 0 failures, 0 errors, 0 skips

    Top 10 tests by objects allocated

    2323: TestMeta#test_bug_dsl_expectations 2101: TestMinitestUnitOrder#test_setup_and_teardown_survive_inheritance 2096: TestMeta#test_setup_teardown_behavior 1462: TestMinitestRunner#test_run_filtered_string_method_only 1393: TestMinitestRunner#test_run_filtered_including_suite_name 1378: TestMinitestRunner#test_run_filtered_including_suite_name_string 1292: TestMinitestRunner#test_run_parallel 1287: TestMinitestRunner#test_run_skip_verbose 1276: TestMinitestUnitOrder#test_all_teardowns_are_guaranteed_to_run 1264: TestMinitestRunner#test_run_error

Get The Code

If you just want to use minitest-gcstats, you can install it via RubyGems:
gem install minitest-gcstats
Fork me on GitHub If you want to hack on minitest-gcstats, clone it from GitHub:
git clone git://github.com/seattlerb/minitest-gcstats

Latest Activity