-
Notifications
You must be signed in to change notification settings - Fork 0
Outomated test runner is a RESTful service that sits on every test VM. It works by fetching ZWL code from a git repo, interpreting and executing it while sending output, screenshots, test outcome and other details in real-time to the user. https://docs.outomated.com/test-runner/overview
praveen4463/out-test-runner
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Zylitics Browser Test Build Runner (zl-btbr) is a Restful api at zylitics that can run previously compiled browser tests on newly provisioned cloud servers. Deploying: 1. Run all type of tests locally 2. Local deployment: - mvn clean package -DskipTest=true 3. Cloud deployment (replace #VERSION#): 3.1: jar_ver=#VERSION# && app=zl-btbr && jar=$app-$jar_ver.jar \ && cd ~/documents/zylitics/$app && mvn clean package -DskipTest=true -Djavacpp.platform=windows-x86_64 \ && cd ~/documents/zylitics/all-assets/releases && rm -f $jar \ && cp ~/documents/zylitics/$app/target/$jar . \ && zip -j $app-$jar_ver.zip $jar && rm -f $jar \ && gsutil cp $app-$jar_ver.zip gs://zl-release-artifact 3.2: Update project level metadata to mark the current btbr version gcloud compute project-info add-metadata \ --metadata zl-btbr-latest-version=#VERSION# --project=zl-win-nodes 3.3: When new version comes, we can just restart running instances (unlocked ones only) so that when we create new and they start, they download the new version. Terminated instances won't need to be deleted as when they start, they download new. Locked instances will have to be marked is-deleting=true and we will count how many they are. We will then create same number of instances for always-running to be available for tests. Running: 1. Local run (replace #VERSION#): java -noverify -XX:+AlwaysPreTouch -Xms512m \ -Dwebdriver.chrome.driver=/Users/praveentiwari/.chrome-driver/chromedriver \ -Dwebdriver.gecko.driver=/Users/praveentiwari/.firefox-driver/geckodriver \ -Djava.awt.headless=false \ -Dspring.http.log-request-details=true \ -jar target/zl-btbr-#VERSION#.jar --spring.profiles.active=e2e \ --spring.config.location=classpath:/application.properties,classpath:/application.yaml --debug 2. Cloud production run (replace all constants with valid values): java -noverify -XX:+AlwaysPreTouch -Xms512m -D<driver_system_property>=<driver's_server_path> -Djava.awt.headless=false -jar <path_to_downloaded_jar> <project_level_options> <instance_level_options>
About
Outomated test runner is a RESTful service that sits on every test VM. It works by fetching ZWL code from a git repo, interpreting and executing it while sending output, screenshots, test outcome and other details in real-time to the user. https://docs.outomated.com/test-runner/overview
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published