小智 2
Connect IQ SDK 2.1 中添加了支持,您需要 使用 --unit-test 标志进行编译并使用 /t 标志运行
您必须使用 (:test) 注释您的方法并返回一个布尔值,这意味着测试是否通过(true 表示通过)。
目前我的回答很简短。查看更多: http ://developer.garmin.com/blog/post/connect-iq-2-run-no-evil
| 归档时间: |
|
| 查看次数: |
667 次 |
| 最近记录: |