Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for driver and app #107

Open
4 tasks done
Tracked by #109
ShootingKing-AM opened this issue Apr 10, 2023 · 2 comments
Open
4 tasks done
Tracked by #109

Add tests for driver and app #107

ShootingKing-AM opened this issue Apr 10, 2023 · 2 comments
Labels
enhancement feature improvement or request

Comments

@ShootingKing-AM
Copy link
Member

ShootingKing-AM commented Apr 10, 2023

Add some testing for driver and app

  • Research for CI Based vr testing solutions

  • OpenVR E2E Test possiblity - Yes Possible

  • Future TODO: Unit Testing

  • Object: Need to Test ALVR (atleast mobile end) on ci before pushing changes

    • Auto Sync in Alvr-phonevr repo
    • and Dependabot will pickup changes - which will CI in PhoneVr Repo
@ShootingKing-AM ShootingKing-AM added the enhancement feature improvement or request label Apr 10, 2023
@ShootingKing-AM
Copy link
Member Author

ShootingKing-AM commented Apr 20, 2023

  • Compile Test with gradle github-actions in CI CI: Build Driver and Server #119
  • Local AVD based testing
  • App installation (Instrumentation testing) on max and min version with screenshot for atleast startup (can borrow what has been implemented for aw-android)
  • Run AVD Test - SS Test at Start Screen max and min versions in CI
  • Basic e2e with ALVR Server, SteamVR Home, Send acelometer cmds via adb shell (?) using Docker
    • Local
    • In CI
      • Issue is windows Github runners dont have VM enabled (needs citation) - Hard to setup Android Testing E2E and SteamVR dosent support other OSes except windows
        • There is an option on ghactions.job.service / .container to run a docker container - can dockerize SteamVR and run it as a service
        • Windows github runners some times have HyperV-T and emulator --accel-check sometimes gives success message accel: 0 Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.WHPX (10.0.20348) is installed and usable. accel saying WHPX(or similar hypervisor) is installed - and sometimes it just exists with code 4 saying VT-X is not supported accel: 4 Android Emulator requires an Intel processor with VT-x and NX support. (VT-x is not supported) - weird inconsistency
          • Like Linux, Testing with bare metal avdmanager installation / emulator commands makes the task timeout (adb does not detect emulator has started up even after 30mins)
        • Another option is to test CirrusCI (https://dev.to/ychescale9/exploring-cirrus-ci-for-android-434) - which has default KVM enabled on its linux/macos runners
          • Need to check if it has ghactions-like job.service /.container ?
          • Does it consistently give emulator --accel-check 0 ? unlike github actions - then can dockerize SteamVR and run it on windows it self
      • Have to test manually, locally - may introduce unknowns as compared to Fresh Docker Image like Github-actions runners
        • Make Dockerimage distribute to test

@ShootingKing-AM ShootingKing-AM changed the title Add some testing for driver and app Add testing for driver and app May 10, 2023
@ShootingKing-AM ShootingKing-AM changed the title Add testing for driver and app Add tests for driver and app May 10, 2023
@ShootingKing-AM
Copy link
Member Author

  • E2E for PhoneVR Legacy server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature improvement or request
Projects
None yet
Development

No branches or pull requests

1 participant