This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Question: Why Scanfile overrides multi_scan options #342
Answered
by
lyndsey-ferguson
lyndsey-ferguson
asked this question in
Q&A
-
From @AyaAkl25
|
Beta Was this translation helpful? Give feedback.
Answered by
lyndsey-ferguson
May 22, 2021
Replies: 2 comments
-
Hello @AyaAkl25. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lyndsey-ferguson
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.