todomvc-cypress-exercise:用作学习cypress e2e测试的示例应用程序

时间:2021-05-02 05:02:14
【文件属性】:
文件名称:todomvc-cypress-exercise:用作学习cypress e2e测试的示例应用程序
文件大小:440KB
文件格式:ZIP
更新时间:2021-05-02 05:02:14
JavaScript 使用React Hooks和Redux构建的TodoMVC 众所周知的TodoMVC是用React Hooks和Redux构建的,结构化且可测试。 涵盖的概念和工具 用法 安装依赖项后,以下NPM脚本将变为可用: start :以开发模式在上启动应用程序 build :将用于生产的应用程序捆绑到build文件夹中 test :运行单元测试和端到端测试 test:unit :在带有*.spec.js后缀的src文件夹中使用运行单元测试 test:e2e :在带有*.spec.js后缀的tests/e2e文件夹中,使用Cypress运行E2E测试 format :在src文件夹中使用Prettier格式化代码 lint :基于Airbnb的样式指南和Prettier配置的带有ESLint的lint文件 组件架构 应用程序与React devtools和Redux devtools兼容
【文件预览】:
todomvc-cypress-exercise-master
----.eslintrc.json(1KB)
----.gitignore(346B)
----images()
--------architecture.png(18KB)
--------screenshot.png(45KB)
----package.json(2KB)
----package-lock.json(1.45MB)
----src()
--------components()
--------setupTests.js(74B)
--------services()
--------index.js(343B)
--------constants()
--------store()
----cypress.json(181B)
----.travis.yml(276B)
----CONTRIBUTING.md(2KB)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(1KB)
----public()
--------index.html(371B)
--------favicon.ico(1KB)
----README.md(3KB)
----tests()
--------e2e()
--------support()
--------plugins()
----.prettierrc(200B)

网友评论