SPB Git

Repository Public

ui-test.sh 951 B 12 lines shellscript

1#!/usr/bin/env bash2# Author: Simon-Pierre Boucher — contact@spboucher.ai3# File: Scripts/ui-test.sh4# Description: Runs the XCUITest suite: the signed-out screen, and navigation of every section while signed in on the VQuant Next TEST backend (5058, development session). VQ_UI_ONLY=<Class>[/<test>] runs one class or test.5set -euo pipefail6cd "$(dirname "$0")/.."7DD="${VQ_DERIVED:-$HOME/Library/Developer/VQuant/DerivedData}"8eval "$(Scripts/dev-session.sh)"9xcodegen generate --quiet10TEST_RUNNER_VQ_DEV_TOKEN="$VQ_DEV_TOKEN" TEST_RUNNER_VQ_SERVER="$VQ_SERVER" xcodebuild -project VQuant.xcodeproj -scheme VQuantUITests -configuration Debug -derivedDataPath "$DD" -destination 'platform=macOS,arch=arm64' ${VQ_UI_ONLY:+-only-testing:VQuantUITests/$VQ_UI_ONLY} test 2>&1 \11  | grep -E "error:|Test [Cc]ase .* (passed|failed)|\*\* TEST|XCTAssert|Timed out while enabling" | grep -vE "^ *[0-9]+ \|" | sed 's/\x1b\[[0-9;]*m//g' | sort -u | head -6012
Files main
Menu

Theme