mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
feat(folio-ios): add test-ios justfile recipe
This commit is contained in:
1 parent
34803a082b
commit
458e16d0e5
1 file changed
+18
@@ -97,3 +97,21 @@ test:
|
||||
--duration "{{duration}}" \
|
||||
--seed "{{seed}}" \
|
||||
--output "{{output}}"
|
||||
|
||||
# Build + install + run sanderling spec on iOS simulator.
|
||||
test-ios:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
just ios
|
||||
ios_device_flag=()
|
||||
if [[ -n "{{ios_device}}" ]]; then
|
||||
ios_device_flag=(--ios-device "{{ios_device}}")
|
||||
fi
|
||||
"{{sanderling}}" test \
|
||||
--platform ios \
|
||||
--spec "{{justfile_directory()}}/sanderling/spec.ts" \
|
||||
--bundle-id app.folio \
|
||||
"${ios_device_flag[@]}" \
|
||||
--duration "{{duration}}" \
|
||||
--seed "{{seed}}" \
|
||||
--output "{{output}}"
|
||||
Reference in new issue
Block a user