GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - oianmol/OpenTestLabAndroid: A self hosted Android test lab to run android automation tests. A possible firebase alternative

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
androidplugin
androidplugin
 
 
gradle
gradle
 
 
protos
protos
 
 
sampleandroidapp
sampleandroidapp
 
 
src/main
src/main
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
orchestrator-1.4.1.apk
orchestrator-1.4.1.apk
 
 
settings.gradle.kts
settings.gradle.kts
 
 
test-services-1.4.2.apk
test-services-1.4.2.apk
 
 

Repository files navigation

OpenTestLabAndroid

Banner

Overview

This project enables Android developers to execute automation test cases on self-hosted servers.

Features

  • Test Sharding - So more devices the better it gets 😈
  • Report management includes Junit XML styles report with metrics
  • Video recordings of every automation test!

Setup Instructions

  • Configure your test server's IP address in your Android projects build.gradle(.kts)
openTestLabConfigure {
    serverAddress = "localhost:8081"
    ignoreFailures = true
}

Demo Video!

output.mp4

Sample Test Report Junit Report file and the test video recording!

Screenshot 2024-07-09 at 10 27 34 AM
greetingDisplayedWithNameAndroid.dev.oianmol.sampleandroidapp.MainActivityTest.mp4

Features

  • Run automation tests on a self-hosted server
  • Upload builds to this server and groups them by a unique build number
  • Collects reports from the test execution along with Junit Formate reports and recorded videos.

Prerequisites

  • Java Development Kit
  • Android SDK
  • [Any other required tools or libraries] (TBD)

Installation

  1. Clone the repository:

    git clone https://github.com/oianmol/OpenTestLabAndroid.git
    cd OpenTestLabAndroid

2 Set up the Android SDK:

Ensure the ANDROID_HOME environment variable is set to your Android SDK path.

```bash
export ANDROID_HOME=/path/to/your/android/sdk
```

3 Make sure JDK is there?

4 TBD

Usage

  1. Start the server:

    execute Main.kt!
  2. Look at the sample android app:

    Place your test cases in the androidTest directory.

  3. Execute tests:

    checkout the accompanied gradle plugin it should generate a gradle task for you to run the android tests on your remote server.

Configuration

  • Server settings: [Provide details on how to configure the server settings]
  • Device configurations: [Details on configuring devices for testing]

Logging and Reporting

  • Logs are stored in the logs directory.
  • Test reports can be found in the reports directory.

Contributing

We welcome contributions! Please see our Contributing Guidelines for more details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or support, please open an issue on GitHub or contact [[email protected]].


Feel free to modify this template according to your project's specifics.

About

A self hosted Android test lab to run android automation tests. A possible firebase alternative

Topics

androidandroid-automationandroid-automation-tests

Resources

Readme
Activity

Stars

13 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.