mirror of
https://github.com/appium/appium.git
synced 2026-05-04 09:20:30 -05:00
windows equivalent of test.sh
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user