石头剪刀布游戏
构建和启动:
npm install
make bro
make up
open http://localhost:8181
开发板
您可以在 tests/e2e/features 文件夹中找到 Gherkin 功能
测试:
e2e:
对于 e2e 测试,您需要 chromedriver 或 之后您可以在 $PATH 中的某处执行:
make e2e
单元+集成:
make test
代码覆盖率报告:
make coverage
open ./lcov-report/app/index.html
============================== 覆盖范围总结 ================ ============== 报表 : 97.22% ( 70/72 ) 分行 : 75% ( 6/8 ) 功能 : 88.