unexpected.js 介绍
Features
Extensible
Fast
Provides really nice error messages
Helps you if you mi ssp ells assertions
Compatible with all test frameworks.
Node.js ready (require('unexpected'))
Supports asynchronous assertions using promises
Single global with no prototype extensions or sh ims .
Cross- bro wser: works on Chrome,Firefox,Safari,Opera,IE11,Edge
Node
npm install --save-dev unexpected
var expect = require('unexpected');
网站地址 : http://unexpected.js.org/
GitHub: https://github.com/unexpectedjs/unexpected
网站描述: 一种与should类似但不同的断言语法
unexpected.js官方网站
官方网站: http://unexpected.js.org/
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did177343