Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 915 Bytes

File metadata and controls

29 lines (19 loc) · 915 Bytes

Automated tests

These cover most functionality, except note editing (CKEditor text input is not easily automated) and widgets (homescreen can't be automated).

Check CI status, or run tests locally:

  • Run ./app/test/setup-test-server.sh
  • Run while true; do adb -e reverse tcp:8080 tcp:8080; sleep 1; done
  • Run Gradle task :app:pixel9api35DebugAndroidTest
  • Run ./app/test/compare-test-images.sh

Run :app:jacocoTestReport to get a coverage report, if desired.

Manual tests

(if database version is incremented)

Check that the migration works correctly.

(always)
  • Check that sync pull works.

  • Check that synced changes show up correctly.

  • Make a trivial change: text note / canvas note / protected text note.

  • Check that sync push works.

  • Check that synced changes show up correctly.

  • Check that existing widgets still work.

  • Check that new widgets can be configured.