Tcloud cloud test platform - open source multi-service framework

Technology stack

Python3.7 + Vue
front end github Address: https://github.com/bigbaser/Tcloud
backend github Address: https://github.com/bigbaser/TcloudServer
experience Address: http://tcloud-demo.ywopt.com / # / the Login  (account number: admin password: 123456)

testerhome Address: https://testerhome.com/topics/20491

First, what is Tcloud?

    Tcloud (Test Cloud) platform to build cloud measured the cloud on the test data, the mobile terminal cloud (cloud real machine). Unified customized workflow system, the efficiency of executive management, task expiration reminder, convenient and quick view "my" related tasks that demand -> Development -> test -> acceptance -> Publish more efficient.

Second, why should develop Tcloud?

    1. Current use of demand, issue management tool very much like jira, tapd, Zen, etc., the complexity of commercial software does not use the so-called so convenient, and less fit with the company's part of the business, and therefore self-study Tcloud became a trend.
    2. The company's business lines and more, a test may also assume the task of testing several projects, Tcloud same time statisticians in workload under different projects, by recording platform, statistical work output
    3. The business start-up projects are still no mobile device or model incomplete and tangled, faced with limited funding and high mobile device development dilemma, cloud real machine on the line
    4. the customization process research and production projects presented statistics to the needs of all aspects of on-line time-consuming, improve engineering efficiency

Three, Tcloud introduction

 

 

 

Cloud real machine

云真机平台的开发,让测试机更高效的被使用,当测试机器不在使用的时候,会作为共享机供给开发作为调试机

 

 

流程管理

在日常测试工作中,提测流程混乱,流程不清晰,测试过程中出现的问题无法统计,因此流程系统应运而生
流程系统包含发布系统,自动化集成,告警通知,邮件通知等功能
有了流程系统后,可直观看到流程的报表,流程资源,以及每个阶段的平均耗时,还有流程被打回或者异常终止的原因。

 

 

Dashboard

展示根据时间区间统计每个版本的issue数量,新增数量,打开数量的统计报表;
展示bug状态分布饼状图;
根据SOD算法,展示版本质量走势;
展示每个版本需求数量的统计报表;
展示每个版本任务数量的统计报表;
展示测试团队时间段内新增case和issue的统计报表;

看板

根据版本号查询缺陷和需求相关的看板,通过类teambition风格的展示,让人和容易接受,抽屉式的详情展示,让你的操作游刃有余。
友好的“我的问题”和“最近更新”入口能快速定位到目标,大大提高了工程效率。

 

 

 

迭代管理

迭代管理模块,集成了迭代版本的管理,任务管理,缺陷管理,需求管理,其中任务包括多种类别。
任务可选择相应的测试用例,点击任务名可查看相应的任务报告以及用例执行情况。
缺陷的增删改查,并且做了针对相应角色的控制。
需求可对应迭代版本添加,需求价值能直观看出。

 

 

用例管理

支持二级目录的用例管理,用例可根据“步骤”“预期”傻瓜式创建

 

 

缺陷管理&需求管理

在迭代管理中已经初步看到了缺陷和需求的功能和界面展示,两个大的模块是使用比较频繁的,因此单独列出来,迭代管理中的缺陷和需求,更加匹配迭代版本,满足不一样的用户群

接口自动化

当前自动化开源工具满天飞的情况下,为了满足业务需求,让全民自动化起来,将接口自动化平台化,让更多的人能接触到自动化
基于https://github.com/pencil1/ApiTestWeb ,在httprunner的基础上做了二次开发,展示效果如下

 

 

团队活跃

在团队迅猛扩张时,每到月末统计工作产出的时候,就比较头疼,测试工程师的日常产出又无法一行一列的描述的清楚,因此通过平台化的记录下来,创建的bug,新增的用例等信息都能很明白的记录,也算作是一个日常工作的参考。

 

 

角色管理

项目管理员可以新增,删除人员,重置密码,修改昵称,修改人员角色
支持新增修改角色,赋予角色指定权限

 

 

 

KONG

Kong是一个基于Nginx的云原生,高效,可扩展的分布式 API 网关

 

 

Grafana

Grafana是一个跨平台的开源的度量分析和可视化工具,可以通过将采集的数据查询然后可视化的展示,并及时通知。
显示各个服务的RPS,Request Time,Upstream Time,网关转发时间等

 

 

四、前端快速部署

# 安装环境依赖
npm install

修改config/dev.env.js
BASE_URL: '"http://tcloud-demo.ywopt.com"'

# 启动开发环境
npm run dev

后端python环境使用pipenv管理,根据apidoc规范书写接口文档,supervisor管理服务进程,docker-compose启动KONG,prometheus和grafana
平台目前在持续更新维护,如有疑问或帮助可联系QQ群:839084842

后续将详细介绍平台的搭建和开发历程,如果项目对你有所帮助或启发,希望能在GitHub点个Star,感谢阅读!

Guess you like

Origin www.cnblogs.com/grizz/p/11506032.html