# webtest **Repository Path**: qinxie/webtest ## Basic Information - **Project Name**: webtest - **Description**: 一款小巧灵活的端到端Web自动化测试框架 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-26 - **Last Updated**: 2021-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: Cypress, Cucumber, webtest, datadriven ## README # 一款小巧灵活的端到端Web自动化测试框架 ## 关键词: - [Cypress](https://www.cypress.io/) - [Cucumber](https://cucumber.io) - BDD, Data-Driven, Easier Debugging - Simple, Light Weight, Multiple Kinds Browser Supports ## 说明 ```text Cypress几年前还属于一个比较小众的Web测试方案,现如今已有替代Selenium成为Web自动化测试头把交椅的实力。 因其小巧灵活,所以会更适合那些迭代比较频繁,且初期就需要自动化测试介入的项目。 由于官方以及第三方插件的支持,Cypress目前已支持: ``` - BDD语义 - 数据驱动 - CI / CD - 并发执行 - 各大 IDE 均支持关键词高亮 ## 用例参考: [点击此链接](./cypress/integration/case-948.feature) ## 测试执行及结果展示: - 运行命令: npm run cypress:run - 测试执行完成后可借助插件 [multiple-cucumber-html-reporter](https://github.com/wswebcreation/multiple-cucumber-html-reporter) 在项目根目录运行命令 node report.js。结束后测试报告已生成在./cypress/reports/index.html。 - ![结果截图](./cypress/reports/result.png)