Skip to content

Commit 03c4e8a

Browse files
committed
A workaround for an issue where --since flag is passed to minitest when running incremental mutation tests.
Suggested by @mbj: #454 (comment)
1 parent 6d5ef69 commit 03c4e8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ecommerce/pricing/test/test_helper.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
require "minitest/autorun"
1+
unless $PROGRAM_NAME.end_with?('/mutant')
2+
require "minitest/autorun"
3+
end
4+
25
require "mutant/minitest/coverage"
36
require "active_support/all"
47

0 commit comments

Comments
 (0)