We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5c11b commit 81499f2Copy full SHA for 81499f2
Rakefile
@@ -5,4 +5,7 @@ require 'minitest/test_task'
5
# * test:isolated : run tests independently to surface order dependencies
6
# * test:deps : (alias of test:isolated)
7
# * test:slow : run tests and reports the slowest 25
8
-Minitest::TestTask.create
+Minitest::TestTask.create do |t|
9
+ t.extra_args << '-Werror' # Raise exceptions for warnings: https://github.com/minitest/minitest/commit/f0f17b9
10
+ t.test_prelude = 'Warning[:performance] = true' # … including `performance` warnings which are off even with `-w`
11
+end
0 commit comments