[关闭]
@mSolo 2015-04-16T11:12:05.000000Z 字数 5323 阅读 1527

Android 测试学习笔记(四)

Android 持续集成 TDD CI


认识持续集成

使用 Gradle 手动构建 Android App.

./gradlew

Target Description
build Assembles and tests this project
clean Deletes the build directory
tasks Displays the tasks runnable from root project x (some of the displayed tasks may belong to subprojects)
installDebug Installs the Debug build
installDebugTest Installs the Test build for the Debug build
connectedAndroidTest Installs and runs the tests for Build debug on connected devices
uninstallDebug Uninstalls the Debug build

创建本地 git 仓库

  1. $ mkdir AndroidApplicationTestingGuide
  2. $ cd AndroidApplicationTestingGuide
  3. $ git init
  4. $ cp -a <path/to/original>/AndroidApplicationTestingGuide/
  5. $ gradlew clean
  6. $ rm local.properties
  7. $ git add .
  8. $ git commit -m "Initial commit"

和 Jenkins 集成

示例

BDD

认知

使用 FitNesse

示例

使用 GivWenZen

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注