nightmare 介绍
一个 基于phantomjs的测试框架, 一个 基于phantomjs之上为测试应用封装的一套high level API。其API以goto,refresh,click,type…等简单的常用e2e测试动作封装,使得其语义清晰,简洁。
如果你的项目测试不需要想需求和测试人员理解,那么基于nightmare测试或许是 一个 好的选择,你的降低测试 代码 的成本,以及测试套件的部署。我们可以选择基于jas mine -node等作为测试套件集成。
安装nightmare:
npm install nightmare
网站地址 : https://open.segment.com
GitHub: https://github.com/segmentio/nightmare
网站描述: 基于phantomjs的测试框架
nightmare官方网站
官方网站: https://open.segment.com
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did177318