Giter Site home page Giter Site logo

sample-java's Introduction

sample-java

build status

Macaca test sample for Java

API Doc

more docs 参考文章

https://testerhome.com/junhe

Test

Start macaca server

$ macaca server --verbose

install mvn dependencies:

$ mvn -s settings.xml clean install -Dmaven.test.skip=true

run test

$ mvn -s settings.xml test -Dtest=macaca.client.AndroidSampleTest

App Source Code

RUN CI

when source code changes, run CI Samples

  1. change current version : package.json
  2. npm publish
  3. run CI sample

Problems

  1. when you run iosSampleTest.java,you may meet this problem:
ios_webkit_debug_proxy path: /usr/local/bin/ios_webkit_debug_proxy
Could not connect to lockdownd. Exiting.: Permission denied
Unable to attach f27bc6f301486418d3c81c04165cbd93143ec972 inspector
Invalid message _rpc_reportConnectedDriverList: <dict>
	<key>WIRDriverDictionaryKey</key>
	<dict>
	</dict>
</dict>

that's because you do not have permission for ios_webkit_debug_proxy, you can solve this problem by this:

  1. refer to: http://stackoverflow.com/questions/39035415/ideviceinstaller-fails-with-could-not-connect-to-lockdownd-exiting

  2. if the problem still exists ,upgrade ios-ios-webkit-debug-proxy(my version is ios-webkit-debug-proxy-1.7.1)

$ brew upgrade ios-webkit-debug-proxy

License

The MIT License (MIT)

sample-java's People

Contributors

yinxl avatar xudafeng avatar chan-chun avatar

Watchers

James Cloos avatar  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.