Skip to content

owncloud/android-update-testing

Android Update Testing

License ownCloud OSPO

Update Test

This repository provides automated tests that verify the ownCloud Android app upgrade path does not cause crashes or break functionality. The test suite installs the curren stable version of the app, performs setup operations (login, file listing, passcode setup), then installs a the current master version over the top and verifies that data and settings are preserved. It is designed to run within CI workflows that build both versions nightly.

Part of Mobile (Android)

This repository is part of the QA infrastructure for the ownCloud Android app. It ensures that app updates do not introduce crashes, regressions in user data or settings unconsistencies.

Getting Started

  1. Configure local.properties with APK filenames, passcode, package name, and Appium URL
  2. Run the tests with Gradle:
./gradlew clean test -Dserver="https://myserver:9200" -Dusername=john -Dpassword=mypass -Dcommit=87a6f33
  • Server URL: ownCloud server to test. Basic auth as 1st auth method.
  • Username: available in the server.
  • Password: for the username to access.
  • Commit: hash to compare against latest tag in CI.

Test Process

  1. Adds example files to the given account
  2. Installs the stable version (owncloudSignedLatest.apk)
  3. Logs in with the given credentials
  4. Checks list of files and adds a passcode
  5. Installs the app's current master version (owncloudSignedMaster.apk) over the stable one (without reinstalling)
  6. Verifies the passcode, file list, and commit hash in settings

Documentation

Community & Support

Star this repo and Watch for release notifications!

Contributing

We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.

Workflow

  • Rebase Early, Rebase Often! We use a rebase workflow. Always rebase on the target branch before submitting a PR.
  • Dependabot: Automated dependency updates are managed via Dependabot. Review and merge dependency PRs promptly.
  • Signed Commits: All commits must be PGP/GPG signed. See GitHub's signing guide.
  • DCO Sign-off: Every commit must carry a Signed-off-by line:
    git commit -s -S -m "your commit message"
    
  • GitHub Actions Policy: Workflows may only use actions that are (a) owned by owncloud, (b) created by GitHub (actions/*), or (c) verified in the GitHub Marketplace.

Security

Do not open a public GitHub issue for security vulnerabilities.

Report vulnerabilities at https://security.owncloud.com -- see SECURITY.md.

Bug bounty: YesWeHack ownCloud Program

License

This project is licensed under the GPL-3.0.

About the ownCloud OSPO

The Kiteworks Open Source Program Office, operating under the ownCloud brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and Kiteworks, which acquired ownCloud in 2023.

For questions about the OSPO or licensing, contact ospo@kiteworks.com.

License Migration to Apache 2.0

The OSPO is driving a strategic relicensing of ownCloud repositories toward the Apache License 2.0, following the Apache Software Foundation's third-party license policy.

Individual repositories will migrate as their audit is completed. The LICENSE file in each repo reflects its current license status (not the target).

Current license: GPL-3.0 (Category X per Apache policy -- cannot be included in Apache-2.0 works).

Migration prerequisites for this repository:

  • CLA/DCO coverage: All past contributors must have signed agreements permitting relicensing
  • Copyleft dependency audit: All GPL dependencies must be replaced or isolated
  • Complete relicensing: GPL-3.0 is a strong copyleft license; migration requires full relicensing of all files

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors