Question: Why Scanfile overrides multi_scan options #342
-
From @AyaAkl25
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @AyaAkl25. |
Beta Was this translation helpful? Give feedback.
-
There are two ways to prevent
scan_module_monkeypatch.rbmodule Scan
class << self
def scanfile_name
"NoScanfile"
end
end Fastfilerequire_relative 'scan_module_monkeypatch'
lane :yourlanename do
multi_scan(...)
end |
Beta Was this translation helpful? Give feedback.
Hello @AyaAkl25.
multi_scan
depends onscan
, so it will end up using the Scanfile that you have configured forscan
(also known asrun_tests
). There are only a few places thatmulti_scan
overrides the options, but be assured that it only does this where it needs to. The options that you pass tomulti_scan
need to take precedence, otherwise, you would receive the results that you expect.