-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathFastfile
33 lines (28 loc) · 1.08 KB
/
Fastfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
lane :test do
desc "Lane running all tests with default spoon config"
lane :Automation_Spoon do
gradle(task: "spoon")
end
desc "Runs tests with AVD setup according to JSON file config with usage of spoon."
lane :Automation_EmulatorRun_Spoon do
automated_test_emulator_run(
AVD_setup_path: "~/<path to your avd setup>/AVD_setup.json",
gradle_task:"spoon"
)
end
desc "Runs tests with AVD setup according to JSON file config with usage of gradle task."
lane :Automation_EmulatorRun_Gradle do
automated_test_emulator_run(
AVD_setup_path: "~/<path to your avd setup>/AVD_setup.json",
gradle_task:"cleanTest createMockDebugCoverageReport --continue"
)
end
desc "Runs tests with AVD setup according to JSON file config with usage of other lane."
lane :Automation_EmulatorRun_Fastlane do
automated_test_emulator_run(
AVD_setup_path: "~/<path to your avd setup>/AVD_setup.json",
shell_task:"fastlane Automation_Spoon"
)
end
# more parameters listed in automated_test_emulator_run_action.rb
end