`

codeline-build-test

阅读更多

Main line 主代码线:主要开发用代码线。鼓励速度、并发和合作,保证一定的代码稳定性。

修改的代码必须编译通过。周期执行集成构建,构建时必须通过 Regression Test 回归测试。

 

Main line 工作模式:

<!-- [if !supportLists]-->1.         <!-- [endif]-->check out 最新代码

<!-- [if !supportLists]-->2.         <!-- [endif]-->编写新代码或修改代码

<!-- [if !supportLists]-->3.         <!-- [endif]-->执行本地构建

<!-- [if !supportLists]-->4.         <!-- [endif]-->执行单元测试

<!-- [if !supportLists]-->5.         <!-- [endif]-->更新最新代码

<!-- [if !supportLists]-->6.         <!-- [endif]-->执行 Smoke Test

<!-- [if !supportLists]-->7.         <!-- [endif]-->提交

 

Release-Prep&Release line 发布准备和发布代码线:用于缺陷修复工作。保证代码稳定性。代码相对稳定后从主代码线创建发布准备分支。发布后该分支成为发布分支。

代码提交前必须通过构建和回归测试;只可提交缺陷修复;不可提交新功能 1 ;代码提交后代码线冻结,启动 QA 流程。 QA 流程通过后解除冻结状态。如果未通过 QA 流程,则回滚改提交。

 

3rd party codeline 第三方代码线:确保发布版本包含合适版本的第三方软件。管理重要的、易变动 或项目组需要进行客户化 的第三方软件

提交前可能需要通过回归测试,以检查新版本是否包含所有缺陷修复。

 

Integration build 集成构建:集中式构建,保证主代码线的相对稳定。

至少每天执行一次。构建中执行回归测试。

 

Repository 库:存储第三方软件或库、本项目各子系统或模块构建成果,简化各子系统的构建和依赖管理。

 

Regression Test 回归测试:用于验证新代码是否比前一稳定的构建蜕化

单元测试、针对主要集成场景的测试、针对已发现缺陷的测试 2

 

Smoke Test :适合开发环境执行、执行时间较短的测试。用于验证代码修改是否破坏其它代码。

单元测试、针对主要集成场景的测试

 

* 1 :如果必须在发布中增加某新功能,则从发布准备分支中创建一个专为该开发新功能而用的任务分支。充分开发和测试完成后,将该分支上的变动 merge 至发布准备分支。

* 2 :发现缺陷后须增加一个重现该缺陷的集成测试案例。定位该缺陷的原因时,须相应增加一个或多个单元测试案例。

 

分享到:
评论

相关推荐

    BURNINTEST--硬件检测工具

    PassMark BurnInTest V5.3 Copyright (C) 1999-2008 PassMark Software All Rights Reserved http://www.passmark.com Overview ======== Passmark's BurnInTest is a software tool that allows all the major sub...

    Test-Drive ASP.NET MVC

    As you build and deploy your application, you’ll not only learn the framework itself, but also gain valuable experience with the test-first methodology, driving your application development through ...

    Android代码-android-test

    This library provides a set of APIs that allow you to quickly build and run test code for your apps, including JUnit 4 and functional user interface (UI) tests. You can run tests created using these ...

    ITUG729源代码

    This package includes the files needed to build the fixed point version of the G.729 codec with VAD/DTX/CNG as described in ANNEX B. It includes also the PC executable (coder.exe and decoder.exe), ...

    robotframework

    - Can natively use both Python and Java test code. - Provides a simple library API for creating customized test libraries. - Provides a command line interface and XML based outputs for integration ...

    Bochs - The cross platform IA-32 (x86) emulator

    - Updated Bochs TESTFORM to version 0.5 - SF patches applied [2864402] outstanding x2apic patches by Stanislav [2960379] Fix build with -Wformat -Werror=format-security by Per Oyvind Karlsen ...

    EhLib 8.0 Build 8.0.023 Pro Edition FullSource for D7-XE8

    EhLib 8.0 Build 8.0.023 Pro Edition FullSource for D7-XE8 亲测可用,含全部源码及 Demo The Library contains components and classes for Borland Delphi versions 7, 9, Developer Studio 2006, Delphi 2007...

    EhLib 6.3 Build 6.3.176 Russian version. Full source included.

    EhLib 6.3 Build 6.3.176 Russian version. Full source included. ------------------------------------------------------------------- The Library contains components and classes for Borland Delphi ...

    HM-10.0.tar.bz2(JCT-VC HEVC)

    Start Visual Studio command line prompt and build HM_vc9.sln located in trunk/build directory. % msbuild /p:Configuration=Release HM_vc9.sln Step 3: Encode it! Open a notepad and make a ...

    Turbo C++ 3.0[DISK]

    Welcome to Turbo C++ Version 3.0 -------------------------------- This README file contains important information about Turbo C++. ... Options|Compiler|Advanced Code Generation and the...

    Turbo C++ 3.00[DISK]

    Welcome to Turbo C++ Version 3.0 -------------------------------- This README file contains important information about Turbo C++. ... Options|Compiler|Advanced Code Generation and the...

    zxing-3.2.0

    ZXing Test | android-integration | Supports integration with Barcode Scanner via `Intent` | android-core | Android-related code shared among `android`, `androidtest`, `glass` | glass | Simple Google ...

    Git-2.21.0-64-bit.zip

    * A test helper has been introduced to optimize preparation of test repositories with many simple commits, and a handful of test scripts have been updated to use it. Fixes since v2.22 -----------...

    Turbo C 2.00[DISK]

    Floppy Disk - This option will build either a command line or Integrated Development Environment version for a two drive system. Be sure to have three formatted disks ready before you start. To ...

    Turbo C 2.01[DISK]

    Floppy Disk - This option will build either a command line or Integrated Development Environment version for a two drive system. Be sure to have three formatted disks ready before you start. To ...

    grub4dos-V0.4.6a-2017-02-04更新

    执行时可以不用输入扩展名,比如输入test如果当前路径下有一个test.g4b就会自动使用。 2013-10-17 1.修改代码支持新版HOTKEY。 2013-07-10 1.insmod现在支持长文件名(以前最多11个字符,现在没有限制). 2....

    Python安装包version 3.1.5

    To test the interpreter, type "make test" in the top-level directory. This runs the test set twice (once with no compiled files, once with the compiled files left by the previous test run). The test ...

    ehlib_vcl_src_9_3.26

    EhLib 9.3 Build 9.3.026 source included version. ------------------------------------------------- The Library contains components and classes for Borland Delphi versions 7, 9, Developer Studio 2006...

    EhLib 9.1.024

    EhLib 9.1 Build 9.1.024 Professional Edition. ---------------------------------------------- The Library contains components and classes for Borland Delphi versions 7, 9, Developer Studio 2006, ...

    opensc-0.12.0.tar.gz

    Complete change history is available online: http://www.opensc-project.org/opensc/timeline New in 0.12.0; 2010-12-22 * OpenSC uses a single reader driver, specified at compile time. * New card driver...

Global site tag (gtag.js) - Google Analytics