mirror of
https://github.com/appium/appium.git
synced 2026-02-09 03:09:02 -06:00
15 lines
554 B
PowerShell
15 lines
554 B
PowerShell
param([string]$mochaArgs = "", [switch]$android, [switch]$selendroid)
|
|
$all = !($android -or $selendroid)
|
|
$appiumMocha="mocha --recursive -t 90000 -R spec $mochaArgs "
|
|
|
|
if ($android -or $all){
|
|
"RUNNING ANDROID TESTS"
|
|
"---------------------"
|
|
Invoke-Expression ($appiumMocha + "test\functional\android test\functional\common -g '@skip-android-all' -i")
|
|
}
|
|
|
|
if ($selendroid -or $all){
|
|
"RUNNING SELENDROID TESTS"
|
|
"------------------------"
|
|
Invoke-Expression ($appiumMocha + "test\functional\selendroid -g '@skip-selendroid-all' -i")
|
|
} |