Skip to content

Commit

Permalink
Disable minitest plugins
Browse files Browse the repository at this point in the history
The latest version of simplecov comes with a minitest plugin in order to
play nice with minitest's `at_exit` hook. However, we don't use
Minitest's `at_exit` hook, so it actually breaks things for us, because
now we don't get `simplecov`'s `at_exit` hooks at all.

To workaround it, I disable minitest plugin loading so that the previous
behavior will be kept when upgrading simplecov.
  • Loading branch information
deivid-rodriguez committed Apr 12, 2020
1 parent b6cd074 commit d2d671e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/support/test_case.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# frozen_string_literal: true

ENV["MT_NO_PLUGINS"] = "yes, no plugins"
require "minitest"

require "byebug"
require "byebug/core"
require "byebug/interfaces/test_interface"
Expand Down

0 comments on commit d2d671e

Please sign in to comment.