Game:测试演示存储库

时间:2021-05-09 00:00:57
【文件属性】:
文件名称:Game:测试演示存储库
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-09 00:00:57
JavaScript 此示例代码与“行为驱动开发”和以Angular编写的Javascript应用程序相关。 它介绍了如何在Angular应用程序上通过Protractor和Cucumber.js执行Gherkin功能。 安装 安装过程需要Node.js,npm和Bower。 $ npm install $ npm run bower 注意: npm run bower仅仅是bower安装的快捷方式,因此可以通过全局安装来运行它。 用法 $ npm run start 您可以打开浏览器到尝试该应用程序。 测验 现在,您必须打开3个终端,因为您需要: 通过npm run start通过应用npm run start 运行Selenium服务器或PhantomJS(位于该项目的devDependencies中,因此您可以运行npm run phantom ) 最后使用以下命令运行Cucumber测试(通
【文件预览】:
Game-master
----features()
--------stepDefinitions.js(3KB)
--------shop.feature(748B)
----config.js(469B)
----package.json(521B)
----server.js(2KB)
----.bowerrc(44B)
----.gitignore(36B)
----public()
--------index.html(2KB)
--------components()
--------app.js(574B)
----README.md(1KB)
----bower.json(296B)

网友评论