Macaca test sample for Java
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
when source code changes, run CI Samples
- change current version : package.json
- npm publish
- run CI sample
- 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:
-
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
Yinxl |
xudafeng |
Chan-Chun |
---|
This project follows the git-contributor spec, auto upated at Sat Apr 21 2018 17:28:19 GMT+0800
.
The MIT License (MIT)