不再维护这个平台了。
这个工作台是为了辅助CNQA FixPack Team更好、更快地完成日常工作的,同时提供一些关于CNQA Team整体的资源库,如KB。
主要功能包括:
- Crawler For Jenkins Server
- Sub Tasks Builder For Liferay JIRA
- Job List Generator For Regression/AA Project
- Evaluator For Duplicate Error Case
- KB For CNQA(In Progress)
- Poshi Watcher(In Progress)
1.0.0
你需要先安装Node v4+环境,安装教程参考how to install NodeJS。
Local Dependencies安装
$ git clone [git-repo-url] fix-pack-workbench
$ cd fix-pack-workbench
$ npm i
Global Dependencies安装
$ npm i selenium-standalone@latest -g
$ selenium-standalone install
启动本地Selenium standalone Server
$ selenium-standalone start
$ cd fix-pack-workbench
$ cd bin
$ node www
or
$ cd fix-pack-workbench
$ npm start
启动控制台Server后,访问http://localhost:8081/crawler
$ selenium-standalone start
$ cd fix-pack-workbench
$ cd private/fixpack/sub_task
$ wdio wdio.conf.js
$ $ cd fix-pack-workbench
$ cd private/fixpack/regression
$ node catch_regression.js
运行结束后,会在result文件夹生成相应的.xlsx文件
启动控制台Server后,访问http://localhost:8081/crawler
$ cd fix-pack-workbench
$ cd private/evaluator
$ node evaluator.js
运行结束后,会在result文件夹生成相应的.xlsx文件
启动控制台Server后,访问http://localhost:8081/kb
启动控制台Server后,访问http://localhost:8081/editors
各项目生成的结果存放文件夹均为子项目根目录的result文件夹
Setting文件的注释
{
//liferay源码根目录
"project_home": "/home/lyon/liferay/portal/portal-6210",
//portal-web源码根目录
"portalweb_home": "/portal-web/test/functional/com/liferay/portalweb",
//user setting
"user_info": {
//用户名
"username": "haoliang.wu",
//密码
"password": "woaini0514"
},
//fixpack setting
"fixpack_info": {
//fixpack的ticket number
"ticket": "LRQA-20022",
//fixpack的名字
"name": "portal-56-6130",
//fixpack在mirror的build number
"build": "1"
},
//crawler setting
"crawler_info": {
//jenkins fixpack URL
"url": "https://test.liferay.com/8/view/test-portal-fixpack-frontend-tomcat-mysql%28ee-6.2.10_6.2.10.15%29/",
//jenkins baseline URL
"url_baseline": "https://test.liferay.com/8/view/test-portal-release-ee-frontend-tomcat-mysql%28ee-6.2.10_6.2.10.15%29/",
//jenkins build number
"build": "#5",
//crawler的模式
"is_baseline": true
},
//jenkins setting
"jenkins_info": {
//jenkins的host地址
"host": "https://test.liferay.com"
},
//sub task setting
"sub_task_info": {
//sub task目标网站的host地址
"host": "https://issues.liferay.com/browse"
},
//regression setting
"regression_info": {
//regression目标网站的host地址
"host": "https://issues.liferay.com/browse"
}
}