Skip to content

Commit

Permalink
修改文案
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Jul 15, 2022
1 parent 2b6ef5b commit 541c1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/xctest.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ func init() {
runCmd.AddCommand(xctestCmd)
xctestCmd.Flags().StringVarP(&udid, "udid", "u", "", "device's serialNumber ( default first device )")
xctestCmd.Flags().StringVarP(&xcTestBundleID, "bundleId", "b", "", "application bundleId")
xctestCmd.Flags().StringArrayVarP(&env, "env", "e", nil, "application bundleId")
xctestCmd.Flags().StringArrayVarP(&env, "env", "e", nil, "test environment params")
}

6 comments on commit 541c1f2

@tinysheepyang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请问 -e 参数如何传参 有例子吗,只有--env stringArray提示 看不明白

@ZhouYixun
Copy link
Member Author

@ZhouYixun ZhouYixun commented on 541c1f2 Jul 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请问 -e 参数如何传参 有例子吗,只有--env stringArray提示 看不明白

https://sonic-cloud.gitee.io/#/SIB?tag=sib-run 可以看这里哦,最下方

@tinysheepyang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多谢看到了刚才文档没有刷新,请问支持启动fastbot_ios吗,刚才试了下xctest启动app,需要配合启动wda 启动wda后执行的不是目标app

@ZhouYixun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多谢看到了刚才文档没有刷新,请问支持启动fastbot_ios吗,刚才试了下xctest启动app,需要配合启动wda 启动wda后执行的不是目标app

支持xctest启动fastbot的,sib run xctest -b 就行,你要启动wda就是sib run wda

@tinysheepyang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多谢大佬已解决问题sib run xctest -b bytedance.FastbotRunner.xxxxxxx.xctrunner -e BUNDLEID=com.xxxxxx.internalapp -e duration=1 -e throttle=500,后面参数和tidevice一样,今天正好在解决tidevice需要安装python3环境问题,无意中看到sib 正在浏览sib代码时,恰巧大佬更新了xctest支持了 再次感谢

@ZhouYixun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多谢大佬已解决问题sib run xctest -b bytedance.FastbotRunner.xxxxxxx.xctrunner -e BUNDLEID=com.xxxxxx.internalapp -e duration=1 -e throttle=500,后面参数和tidevice一样,今天正好在解决tidevice需要安装python3环境问题,无意中看到sib 正在浏览sib代码时,恰巧大佬更新了xctest支持了 再次感谢

不客气不客气,这个也是持续更新的

Please sign in to comment.