magneto
EverythingMe
82
Visit GitHub RepoTesting Tools

Magneto

image

Magneto was built by Automation Engineers for Automation Engineers out of necessity for a mobile centric test automation framework that's easy to setup, run and utilize. At EverythingMe, we went through many open source solutions but none felt fast, easy and hassle free.

Magneto is written in Python for Android devices. It utilizes the uiautomator tool via a Python wrapper and pytest as a test framework.

Magneto can be triggered from CLI, IDE and CI.

Quick start

$ pip install magneto
$ magneto init calc
$ magneto run tests/

Required params:

Option Description
<TEST_DIR> Test file directory path. Usually ui_tests (Required)
--app-package <APK_PACKAGE_NAME> Tested app package name. e.g. --app-package com.facebook.katana
--app-activity <APK_ACTIVITY> Tested app activity string. e.g. --app-activity com.facebook.katana.LoginActivity

Documentation

Full documentation at magneto.readthedocs.org

Contribute

We invite you to use Magneto to test your Android products, to open issues, to request features, to ask questions and submit your own Pull Requests.

Leading contributors:

Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT