博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
持续集成(CI)- 几种测试的区别(摘录)
阅读量:6328 次
发布时间:2019-06-22

本文共 1884 字,大约阅读时间需要 6 分钟。

CI自动化

CI过程中,自动化的过程一般包括下列的内容:

  • 编译代码
  • 准备数据库
  • 执行测试
  • 分析代码
  • 创建安装和部署内容
  • 生成文档

TFS根据解决方案已经将一些过程直接集成了,如果需要扩展也可以使用MSBuild脚本进行

如果在其他的工具中进行集成,一般使用MSBuild脚本进行

CI中的测试

CI中自动化测试十分重要,通过自动化测试,可以由系统自动运行相关的测试以检测修改的影响.

unit tests:白盒

单元测试工具发挥的地方,如Nunit MSTest等

INTEGRATION TESTS

Integration tests usually take multiple pieces of functionality and test how they behave together. Such tests can involve two or more classes, assemblies, components, or even small programs that interoperate.

FUNCTIONAL TESTS

Functional tests, on the other hand, are sometimes associated with integration tests and sometimes with system tests. You extract functional tests from other types of tests to support your CI scenario.

ACCEPTANCE TESTS

Acceptance tests take fully integrated software with all its dependencies and test it against a normal environment. This means no mocking—only the real deal. You should test I/O, network, and database operations with specific configurations. Acceptance tests can be designed by the customer or domain specialist.

SYSTEM TESTS

System tests are also performed on fully integrated software, but the environment tends to mimic a production environment more than it does during acceptance tests.

This kind of test is hard to integrate within your build process; these tests tend to rely on specific hardware and software configurations. But if you strain a little, some system tests can be included in your automatic build and test schedule.

STABILITY TESTS

You may also want to test the stability of your software. Stability tests answer such questions as whether there are any memory leaks in your Windows service, whether your program can restore the database connection after hibernation, and so on.

Although in most cases it’s possible to automate these tests, they usually have no place in CI the process. They take too much time. You need hours to properly test place in CI the process.

转载地址:http://heyoa.baihongyu.com/

你可能感兴趣的文章
财付通和支付宝资料收集
查看>>
PHPCMS V9数据库表结构分析
查看>>
『原创』+『参考』基于PPC的图像对比程序——使用直方图度量
查看>>
理解 IEnumerable 与 IEnumerator
查看>>
NHibernate 2.0 Beta 1 Released和一些工具
查看>>
【每天一个Linux命令】12. Linux中which命令的用法
查看>>
软件接口数据一致性机制
查看>>
微服务架构介绍和RPC框架对比
查看>>
Debian下使用OpenLDAP 管理端
查看>>
泛型排序器TComparer
查看>>
9个offer,12家公司,35场面试,从微软到谷歌,应届计算机毕业生的2012求职之路...
查看>>
创建符合标准的、有语意的HTML页面——ASP.NET 2.0 CSS Friendly Control Adapters 1.0发布...
查看>>
Adobe驳斥Flash过度耗电论 称HTML5更耗电
查看>>
No!No!No! It's not fashion!
查看>>
艰困之道中学到的经验教训
查看>>
互联网生态建设落地五大挑战——保险科技生态建设 ...
查看>>
进行短视频app开发工作时,可以加入它来保护青少年 ...
查看>>
25G DAC无源高速线缆和25G光模块之间的区别
查看>>
乐乐茶完成近2亿元Pre-A轮融资,祥峰投资领投
查看>>
clickhouse修改时区
查看>>