From ca409ca6b87ddae2ad1eb1271e9fa023043db309 Mon Sep 17 00:00:00 2001 From: PJ Date: Sat, 15 Aug 2026 20:46:48 +0530 Subject: [PATCH] chore(folio): a just recipe for the unit tests --- examples/folio/justfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/folio/justfile b/examples/folio/justfile index 4328766..a0bdac6 100644 --- a/examples/folio/justfile +++ b/examples/folio/justfile @@ -78,6 +78,13 @@ _ensure-device: echo "emulator did not finish booting in time (see /tmp/folio-emulator.log)" >&2 exit 1 +# Run folio's own unit tests. Named test-unit because `test` is the fuzz run. +test-unit: + #!/usr/bin/env bash + set -euo pipefail + export ANDROID_HOME="$(just _android-home)" + ./gradlew :core:testDebugUnitTest :app:shared:testDebugUnitTest + # Build the folio debug APK without installing it. build: #!/usr/bin/env bash