angular-cypress-travis:带有travis集成的Angular运行单元测试和cypress e2e

时间:2021-03-26 23:48:31
【文件属性】:
文件名称:angular-cypress-travis:带有travis集成的Angular运行单元测试和cypress e2e
文件大小:152KB
文件格式:ZIP
更新时间:2021-03-26 23:48:31
TypeScript 角柏特拉维斯 Angular的演示项目,在Travis CI中同时运行单元测试和cypress e2e测试。 该项目与Angular CLI版本8.3.20一起运行。 赛普拉斯报告配置 使用mocha:5.2.0 /版本6错误使用mochawesome有关报告配置,请参考cypress.json 业力配置 singleRun:true防止在单元测试中使用无限监视模式,确保Travis CI知道工作已完成。 Travis配置 在执行angular / cli安装后,只有一个任务要运行:“ cypress:ci”:“ ng build --prod && run-p --race start:ci cypress:run test”并行运行http服务器并使用进行测试使用选项--race:完成后关闭服务器。 开发服务器 为开发服务器运行ng serve 。 导航到http://localh
【文件预览】:
angular-cypress-travis-master
----.travis.yml(521B)
----browserslist(388B)
----sonar-project.properties(581B)
----package.json(2KB)
----tslint.json(2KB)
----cypress()
--------plugins()
--------support()
--------tsconfig.json(121B)
--------integration()
--------fixtures()
----angular.json(3KB)
----.angulardoc.json(71B)
----package-lock.json(710KB)
----src()
--------tsconfig.app.json(204B)
--------tslint.json(244B)
--------test.ts(642B)
--------assets()
--------index.html(292B)
--------tsconfig.spec.json(214B)
--------app()
--------styles.scss(117B)
--------main.ts(372B)
--------polyfills.ts(3KB)
--------karma.conf.js(1KB)
--------environments()
--------favicon.ico(5KB)
----tsconfig.json(470B)
----.gitignore(663B)
----cypress.json(120B)
----README.md(1KB)
----.editorconfig(246B)

网友评论