🕷 software releases

by ryan davis



sitemap

minitest-bisect version 1.1.0 has been released!

Published 2014-09-08 @ 17:07

Hunting down random test failures can be very very difficult, sometimes impossible, but minitest-bisect makes it easy.

minitest-bisect helps you isolate and debug random test failures.

If your tests only fail randomly, you can reproduce the error consistently by using --seed <num>, but what then? How do you figure out which combination of tests out of hundreds are responsible for the failure? You know which test is failing, but what others are causing it to fail or were helping it succeed in a different order? That’s what minitest-bisect does best.

Changes:

1.1.0 / 2014-09-08

  • 4 minor enhancements:

    • Added MTB_DEBUG env var to add debugging output to bisect trials.
    • Added MTB_VERBOSE env var to show test output.
    • Remove --server ### from final repro to make it easer to copy/paste/debug.
    • Removed -s option. Now only --server remains to be unambiguous.
  • 3 bug fixes:

    • Accidentally left in -v while I was debugging something.
    • Reject skips in culprit accounting.
    • Switched to manual escaping of regexp. Shellwords was horribly overzealous.
  • home: https://github.com/seattlerb/minitest-bisect
  • rdoc: http://docs.seattlerb.org/minitest-bisect