Is there a way to run unit tests only?
Currently, run_test
( https://docs.fastlane.tools/actions/run_tests/ ) will trigger both UI and unit test
I can make it with UI testing schema. However, I still fails on unit test scheme. i can see this kind of error in fastlane
lane :testsunit do
run_tests(
scheme: "XXX_Dev_UnitTests",
# devices: ["iPhone 7", "iPhone 12"],
)
end
The scheme 'XXXX_Dev_UnitTests' has nothing configured to build for Running and has no executable specified to Run. Edit the scheme to configure the Run action. [10:04:50]: Exit status: 70
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.