{"id":30593035,"url":"https://github.com/alttester/examples-csharp-cloud-services-alttrashcat","last_synced_at":"2025-08-29T18:05:19.876Z","repository":{"id":192007205,"uuid":"676906344","full_name":"alttester/EXAMPLES-CSharp-Cloud-Services-AltTrashCat","owner":"alttester","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-06T06:18:32.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"browserstack-example","last_synced_at":"2025-05-06T06:45:26.546Z","etag":null,"topics":["alttester-unity-sdk","browserstack","browserstack-automate","browserstack-local","charp","nunit-tests","saucelabs","test-automation","testing","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alttester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-10T09:30:26.000Z","updated_at":"2025-05-06T05:52:24.000Z","dependencies_parsed_at":"2023-09-02T01:12:35.434Z","dependency_job_id":"f93c638a-e99c-49b6-a8c4-4fee4a761528","html_url":"https://github.com/alttester/EXAMPLES-CSharp-Cloud-Services-AltTrashCat","commit_stats":null,"previous_names":["alttester/examples-csharp-browserstack-alttrashcat","alttester/examples-csharp-cloud-services-alttrashcat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alttester/EXAMPLES-CSharp-Cloud-Services-AltTrashCat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alttester%2FEXAMPLES-CSharp-Cloud-Services-AltTrashCat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alttester%2FEXAMPLES-CSharp-Cloud-Services-AltTrashCat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alttester%2FEXAMPLES-CSharp-Cloud-Services-AltTrashCat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alttester%2FEXAMPLES-CSharp-Cloud-Services-AltTrashCat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alttester","download_url":"https://codeload.github.com/alttester/EXAMPLES-CSharp-Cloud-Services-AltTrashCat/tar.gz/refs/heads/browserstack-example","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alttester%2FEXAMPLES-CSharp-Cloud-Services-AltTrashCat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272734612,"owners_count":24984277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alttester-unity-sdk","browserstack","browserstack-automate","browserstack-local","charp","nunit-tests","saucelabs","test-automation","testing","testing-tools"],"created_at":"2025-08-29T18:05:16.627Z","updated_at":"2025-08-29T18:05:19.858Z","avatar_url":"https://github.com/alttester.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an example repository for running tests using `AltTester® Unity SDK 2.2.5` and BrowserStack App Automate. \n\n## Executing tests using `AltTester® Unity SDK 2.2.5` (without BrowserStack).\n### Prerequisite\n\n1. Download and install [.NET SDK](https://dotnet.microsoft.com/en-us/download)\n2. Have a build instrumented with AltTester® Unity SDK 2.2.5 - for additional information you can follow [this tutorial](https://alttester.com/walkthrough-tutorial-upgrading-trashcat-to-2-0-x/#Instrument%20TrashCat%20with%20AltTester%20Unity%20SDK%20v.2.0.x)\n3. Have [AltTester® Desktop app, 2.2.4](https://alttester.com/downloads/) installed (to be able to inspect game).\n- For SDK v2.2.5 =\u003e need to use AltTester® Desktop 2.2.4\n4. Add AltTester package:\n```\ndotnet add package AltTester-Driver --version 2.2.5\n```\n\n#### Specific for running on Android from Windows\n5. Download and install [ADB for Windows](https://dl.google.com/android/repository/platform-tools-latest-windows.zip)\n6. Enable Developers Options on mobile device [more instructions here](https://www.xda-developers.com/install-adb-windows-macos-linux/)\n\n# Setup for running on mobile device\nInstrument the Android `TrashCat` application using the latest version of AltTester® Unity SDK - for additional information you can follow [this tutorial](https://alttester.com/walkthrough-tutorial-upgrading-trashcat-to-2-0-x/#Instrument%20TrashCat%20with%20AltTester%20Unity%20SDK%20v.2.0.x)\n\n1. Make sure mobile device is connected via USB, execute:\n\n```\nadb devices\n```\n\n2. On mobile device: allow USB Debugging access (RSA key fingerprint from computer)\n\n3. Uninstall the app from the device\n\n```\nadb uninstall com.Altom.TrashCat\n```\n\n4. Install the app on the device\n\n```\nadb install TrashCat.apk\n```\n\n# Run tests manually (with [dotnet CLI](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-test))\n! **Make sure to have the AltTester® Desktop App running**\n\n1. [Optional to do manually] Setup ADB reverse port forwarding (this can also be done in code in Setup and Teardown)\n\n```\nadb reverse remove tcp:13000\n```\n\n```\nadb reverse tcp:13000 tcp:13000\n```\n\n2. Launch game\n\n```\nadb shell am start -n com.Altom.TrashCat/com.unity3d.player.UnityPlayerActivity\n```\n\n3. Execute all tests:\n\n```\ndotnet test\n```\n\n4. Kill app\n```\nadb shell am force-stop com.Altom.TrashCat\n```\n\n\n### Run all tests from a specific class / file\n\n```\ndotnet test --filter \u003ctest_class_name\u003e\n```\n\n### Run only one test from a class\n\n```\ndotnet test --filter \u003ctest_class_name\u003e.\u003ctest_name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falttester%2Fexamples-csharp-cloud-services-alttrashcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falttester%2Fexamples-csharp-cloud-services-alttrashcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falttester%2Fexamples-csharp-cloud-services-alttrashcat/lists"}