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 - houseshi/sample-java: Macaca test sample for Java

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
src/test/java/macaca/client
src/test/java/macaca/client
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
checkstyle.xml
checkstyle.xml
 
 
macacatestsample.iml
macacatestsample.iml
 
 
package.json
package.json
 
 
pom.xml
pom.xml
 
 
settings.xml
settings.xml
 
 

Repository files navigation

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

  • ios-app-bootstrap
  • android-app-bootstrap

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

Contributors


Yinxl


xudafeng


Chan-Chun

This project follows the git-contributor spec, auto upated at Sat Apr 21 2018 17:28:19 GMT+0800.

License

The MIT License (MIT)

About

Macaca test sample for Java

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

2 forks
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.