腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(51)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
Mocha-phantomjs
测试无输出
我已经成功安装了节点模块"
mocha-phantomjs
“。file:///home/seventeenlive/site/tests/test1.js:20
mocha-phantomjs
/core_extensions.js:82 ReferenceErr
浏览 0
修改于2013-02-08
得票数 1
1
回答
mocha-phantomjs
xunit报告器和文件输出不工作
使用$
mocha-phantomjs
-R xunit -f outputFile.xml myPage.html$
mocha-phantomjs
-R json -f outputFile.json myPage.html ->工作正常。
浏览 2
提问于2015-05-14
得票数 0
2
回答
Travis构建
mocha-phantomjs
测试失败
我正在使用
mocha-phantomjs
test测试API。
浏览 3
修改于2015-06-01
得票数 0
2
回答
mocha-phantomjs
找不到变量:需要
phantomjs版本1.8.1
mocha-phantomjs
2.0.0 我还能遗漏什么呢?
浏览 0
修改于2017-05-23
得票数 3
1
回答
Mocha-PhantomJS
-找不到路径和变量: Mocha
在我的test.html文件上运行
mocha-phantomjs
命令时,我收到一些错误。
浏览 5
提问于2014-10-07
得票数 0
2
回答
使用
mocha-phantomjs
的mocha初始化超时
在OS X上运行
mocha-phantomjs
client/specs/testrunner.html时,出现以下错误:这里我可能遗漏了什么我还尝试了
mocha-phantomjs
http://httpjs.herokuapp.com,它失败了,出现了相同的错误。更新:如果我调用
mocha-phantomjs
http://localhost:81/client/specs/
浏览 0
修改于2013-03-27
得票数 11
回答已采纳
1
回答
Meteor测试-未在分派下运行的客户端测试:
mocha-phantomjs
full-app --driver-package practicalmeteor:mocha --port 4000 --settings test_settings.jsonmeteor test --once --full-app --driver-package dispatch:
mocha-phantomjs
--settings test_settings.json
浏览 8
提问于2016-07-26
得票数 2
1
回答
对于某些元素,.click()在
mocha-phantomjs
中不起作用
$("#menuItemToClick").click();这确实会触发click事件,并将浏览器带到正确的url,但它也会导致整个页面重新加载,包括chrome和
mocha-phantomjs
有没有办法从
mocha-phantomjs
测试中访问phantomjs页面变量? 任何帮
浏览 0
修改于2013-05-29
得票数 13
回答已采纳
2
回答
如何使用
mocha-phantomjs
测试Node js应用程序
module.save(content,function(err,res){ }); }); 在将html文件作为
mocha-phantomjs
浏览 0
提问于2013-05-14
得票数 1
3
回答
如何在node.js中通过一个"npm test“命令运行mocha和
mocha-phantomjs
测试?
我使用的是mocha和
mocha-phantomjs
。node ./node_modules/mocha/bin/mocha ./node_modules/
mocha-phantomjs
/bin/
mocha-phantomjs
.
浏览 52
提问于2013-12-04
得票数 57
回答已采纳
1
回答
尝试在
mocha-phantomjs
中运行异步测试时出现脚本错误(:0
我使用的是phantomjs 1.9.12和
mocha-phantomjs
3.4.1。
浏览 6
提问于2014-11-12
得票数 2
1
回答
Travis启动服务器并继续使用脚本
/node_modules/
mocha-phantomjs
/bin/
mocha-phantomjs
./test/browser/jelly.html - .
浏览 4
提问于2016-12-20
得票数 4
回答已采纳
4
回答
运行测试时npm错误ELIFECYCLE
"scripts": {"testFlickr": "
mocha-phantomjs
.flickr-test@ testFlickr: `
mocha-phantomjs
./test/FlickrTest.html`npm ERR!
mocha-phantomjs
./test/FlickrTest.ht
浏览 5
提问于2014-04-25
得票数 26
回答已采纳
1
回答
mocha.回调函数的幻影测试用例
} else { } });我想测试这个函数,为此我选择了
mocha-phantomjs
我正在使用
mocha-phantomjs
安装程序和chai断言库。 我找了一些教程和演示,但是找不到。此外,我尝试了
mocha-phantomjs
的例子,但没有帮助,我在这里张贴。请告诉我如何在
mocha-phantomjs
中测试回调函数。
浏览 2
修改于2014-04-03
得票数 3
回答已采纳
2
回答
使用Grunt.js运行mocha测试
我已经设置好了Grunt.js,并且我编写了我想要使用
mocha-phantomjs
进行测试的测试。$
mocha-phantomjs
.
浏览 0
修改于2013-01-13
得票数 8
回答已采纳
1
回答
如何设置摩卡-幻影的测试
我在
mocha-phantomjs
上看到的每一个教程都显示了一个测试工具html文件和一个包含在其中的单独的javascript文件。做这种事的标准是什么?
浏览 0
提问于2014-10-22
得票数 0
2
回答
运行目录中的所有“test.html”文件-mocha-幻影in
"name" : "demo-test", "test": "npm run test-debug", "mocha" : "1.13.x", "commander" : "1.2.x&quo
浏览 1
修改于2014-04-03
得票数 4
3
回答
如何通过mocha-phatomJS配置资源处理?加载资源文件时出错:
在运行单元测试时,我没有运行http服务器,因此我的资源无法通过绝对urls (例如:/静态/映像/face.png)获得,并且得到以下输出: ✓ should show a command line 1
浏览 0
提问于2014-04-23
得票数 3
回答已采纳
2
回答
幻影版似乎没有更新。
所以我按照指令跑了考虑到一切都很好,我编写了测试代码并运行了来了,我的第一个问题
mocha-phantomjs
requires PhantomJS > 1.9.1 一开始看起来很简单,我可能只需要升级幻影的版本。
浏览 2
提问于2014-03-04
得票数 3
1
回答
phantomjs+ mocha +节点+打开网页
我使用
mocha-phantomjs
来调用我的测试运行器,如下所示: <head> <link rel="stylesheetshould be true', function() { });当使用
mocha-phantomjs
浏览 5
修改于2014-03-11
得票数 1
第 2 页
第 3 页
点击加载更多
领券