firezone / firezone

Enterprise-ready zero-trust access platform built on WireGuard®.
https://www.firezone.dev
Apache License 2.0
6.49k stars 275 forks source link

Add smoke test for Android glue code #4288

Open jamilbk opened 3 months ago

jamilbk commented 3 months ago

Similar to #4287, we do have the ability to launch a full Android simulator in CI.

The goal of this issue is to hit the Session.connect codepath for Android in order to catch basic runtime errors.

The MVP of this would likely involve:

thomaseizinger commented 3 months ago
  • Launching the simulator, avd

  • Installing the app package into the simulator

  • Launching it with in stub mode (no portal, service account token, etc)

It would be amazing to somehow pack this into a docker container so we can just add it to the docker compose setup and just open a web browser with httpbin or something on it. That would even smoke-test DNS and catch things like these runtime errors. Maybe stuff like https://github.com/budtmo/docker-android could be used? (Disclaimer: Never used it.)