Code Monkey home page Code Monkey logo

macaca's Introduction

Macaca


Macaca

中文版

Macaca is an open-source automation test solution for native, hybrid, mobile web and web application on mobile and desktop platforms.

  1. Native means apps written with iOS or android SDKs.
  2. Mobile web means apps written in HTML, CSS and Javascript and displayed via a mobile device browser such as Safari, Chrome or Webview in iOS and android.
  3. Hybrid is apps created by webview in native app.
  4. Web means apps written in HTML, CSS and Javascript.

Macaca is "cross-platform". It means you can use the same API to write test scripts, and same test scripts to test your apps running on devices such as iOS, Android or desktops.

Macaca doesn't limit what languages you will use to write your tests.


Features

  1. Macaca has a MIT license.
  2. Macaca's Inspector(//macacajs.com/inspector) is web based.
  3. Macaca's iOS WebDriver is written by Swift and in-house built.
  4. Macaca's Android WebDrive is in-house built, and supports Android UIAutomator 2.0.
  5. Macaca has built-in UI recorder functionality.
  6. Macaca has built-in support for using computer vision to verify UI elements
  7. Macaca supports major browsers such as Chrome, Firefox, Safari.
  8. Macaca follows W3C WebDriver Wire Protocol.It means Macaca has much better chances to be compatible with current and future web standard.

Macaca Concepts

Server

Macaca's core is a REST API web server. It connects with clients, listens for requesting, and executes request commands on a mobile device, and a desktop browser, responses with results conforming HTTP response protocol.

The beauty of a client/server architecure, REST API and W3C WebDriver Wire Protocol opens the opportunities that test codes can be written any common languages, as long as it has a http client API. On the other hand, the server can be on a different machine, or in cloud.

Besides this Macaca's core, we call it macaca server, Macaca's extra utility tool is also server/client centric, such as UI Inspector, computer vision tool.

Session

Macaca uses session to accept and respond requests. A client initiates a session with Macaca server by sending POST /session request. Macaca server will response with this session with a sessionId. The further request needs to contain this sessionId to move forward.

Client

Macaca doesn't limit what client you use. We provide Node.js, Java and Python API libraries to get you started quickly.

Help and Support

License

The MIT License (MIT)

macaca's People

Contributors

xudafeng avatar brucejcw avatar liangjun-jiang avatar gitter-badger avatar liangjunjiang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.