-
## 测试目的
- ```TDD``` 被证明是有效的软件编写原则,它能覆盖更多的功能接口
- 测试可以```快速反馈```你的功能输出,验证你的想法
- 测试可以保证```代码重构```的安全性,没有一成不变的代码,测试用例能给你多变的代码结构一个定心丸。
- 测试用例其实可以看成代码 API 使用文档,而且还是定时更新的,对 API 的使用者有很大的帮助
- 易于测试的代码,说明是一…
-
I'm having difficulty getting the tests to run. I forked and downloaded the repo and I haven't modified anything. When I run npm test , mocha-webpack appears to run and compile everything, but no test…
-
It's been a few years since I wrote this, but it's my most popular library by downloads. I should update it!
1. Update to the latest Node
2. Fix builds
3. Modernize the repository
This won't i…
-
## 2.3.0 / 2015-04-26
Added `ownPropertyDescriptor` assertion:
增加了 `ownPropertyDescriptor` 断言方法:
``` js
expect('test').to.have.ownPropertyDescriptor('length');
expect('test').to.have.ownPropertyDes…
-
Basically, see title. The version on NPM does not have the changes from https://github.com/davidfig/pixi-viewport/releases/tag/5.1.0.
Compare package.json of https://www.npmjs.com/package/pixi-view…
-
## The devDependency [mocha](https://github.com/mochajs/mocha) was updated from `5.2.0` to `6.0.0`.
🚨 [View failing branch](https://github.com/chaijs/chai-spies/compare/master...chaijs:greenkeeper%2…
-
Obviously problematic! This is already on our radar internally. Let this issue serve as technically discussion for this.
While it would be nice to eventually do render-based testing using a headles…
Fang- updated
2 years ago
-
-
[Mocha Test Explorer](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-mocha-test-adapter) **only** seems to work with `commonjs`.
Attempts to make it work with ES Module always end…
-
### Version
1.0.0-beta.29
### Reproduction link
[https://github.com/nlochschmidt/vue-router-test-utils-bug](https://github.com/nlochschmidt/vue-router-test-utils-bug)
### Steps to reproduce
I…