请问有安装教程吗?
顶礼膜拜
请问楼主,有这样的示例代码可以共享不啦?多谢啊
#3 楼 @chenhengjie123 亲,我那就是公司邮箱啊
#2 楼 @debugtalk 请问你是怎么解决的?
wanghaifengdeiMac:macaca-test $ macaca install ios
macaca-ios is installing for the first time with args: ["install","macaca-ios","-—unsafe-perm=true","--registry=https://registry.npmjs.org/"]
\ loading...macaca-cli@1.0.35 /usr/local/lib/node_modules/macaca-cli
└── macaca-ios@1.0.30 extraneous
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! path /usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! path npm-debug.log.147207587
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/macaca-cli/npm-debug.log
npm install exited with code 254 and signal null
install macaca-ios failed with Error: npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! path /usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! path npm-debug.log.147207587
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/macaca-cli/npm-debug.log
你好,请问这是什么原因?
wanghaifengdeiMac:macaca-test-sample-ios-ci-master wanghf$ make test
macaca-test-sample-ios-ci@0.1.0 /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master
└─┬ macaca-test-sample@1.0.8
└─┬ macaca-cli@1.0.35
└── macaca-ios@1.0.30 extraneous
cd ./node_modules/macaca-test-sample && make travis-ios
macaca-test-sample@1.0.8 /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master/node_modules/macaca-test-sample
└─┬ macaca-cli@1.0.35
└── macaca-ios@1.0.30 extraneous
$(npm bin)/macaca install ios
macaca-ios is installing for the first time with args: ["install","macaca-ios","--registry=https://registry.npmjs.org/"]
| loading...macaca-cli@1.0.35 /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master/node_modules/macaca-test-sample/node_modules/macaca-cli
└── macaca-ios@1.0.30 extraneous
install macaca-ios failed with Error: Cannot find module 'macaca-ios'
$(npm bin)/macaca doctor
Node.js checklist:
node env: /usr/local/bin/node
node version: v6.2.0
iOS checklist:
Xcode is installed at: `/Applications/Xcode.app/Contents/Developer`
Xcode Command Line Tools is ready, version: 2343.
ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy
Android checklist:
JAVA version is `1.8.0_51`
JAVA_HOME is set to `/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home`
ANDROID_HOME is set to `/Users/wanghf/Tools/android-sdk-macosx`
Platforms is set to `/Users/wanghf/Tools/android-sdk-macosx/platforms/android-23`
Android tools is set to `/Users/wanghf/Tools/android-sdk-macosx/tools/android`
Installed driver list:
platform=ios $(npm bin)/macaca run --verbose -d ./macaca-test/macaca-mobile-sample.test.js
>> index.js:79:12 [master] pid:62563 webdriver server start with config:
{ port: 3456,
window: true,
ip: '192.168.145.166',
host: 'wanghaifengdeiMac.local',
loaded_time: '2016-05-30 17:23:35' }
>> middlewares.js:30:10 [master] pid:62563 base middlewares attached
>> router.js:118:10 [master] pid:62563 router set
>> webdriver sdk launched
>> macaca-cli-run:89:10 [master] pid:62563 Error: spawn /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master/node_modules/macaca-test-sample/node_modules/macaca-cli/node_modules/.bin/mocha ENOENT
at exports._errnoException (util.js:953:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
>> Test completed!
make[1]: *** [travis-ios] Error 254
make: *** [test] Error 2
请问这个报错是什么问题?
我的 instruments 下面没有这个框架,DVTInstrumentsFoundation.framework
赞,整理的不错。
赞一个
我用的 maven,用的是 reportng,感觉都差不多,挺类似的。
# User credentials.
# Permissions to create tables, indices and triggers must be granted to JDBC user.
# The schema must be created first.
sonar.jdbc.username=root
sonar.jdbc.password=root
#----- Embedded Database (default)
# It does not accept connections from remote hosts, so the
# server and the analyzers must be executed on the same host.
# sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar
# H2 embedded database server listening port, defaults to 9092
# sonar.embeddedDatabase.port=9092
#----- MySQL 5.x
sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
你好,我装好了 mysql,同时也设置了 sonar.properties 配置文件,但是启动的时候,打不开http://localhost:9000/
如果把这些配置加上 # 就可以启动http://localhost:9000/
#sonar.jdbc.username=root
#sonar.jdbc.password=root
#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
请问是我哪里配置错误了吗?
#44 楼 @chenhengjie123 smart_monkey -a com.yueapp.sns -w a5ba1247eb17079858e6bd1cc8ae78360b06cf0b -n 3 -t 500
我是用这个参数启动
为什么的报告里看不到截图呢。
为什么的报告里看不到截图呢。
赞,方便好多!走到哪里都可以看帖子!
—— 来自 TesterHome 官方 安卓客户端
不错呀
—— 来自 TesterHome 官方 安卓客户端
广州的顶起
这么好的一次机会,必须顶的啦。
在usr/local/lib/node_modules/appium/lib/devices/ios
文件夹中更新 iOS.js 文件,可以在 appium 源码中下载 iOS.js 最新文件更新到本地目录中
既然是评论列表,那么就是一个 tableview ,你可以获取这个 tableview 下的 cell, 你可以统计多多少个 cell 就可以了嘛