unit-testing
-
用于 TDD 的 JavaScript 单元测试工具摩卡.js 我已经研究并考虑了许多JavaScript单元测试和测试工具,但无法找到合适的选项来保持完全符合TDD。那么,有没有一个完全符合TDD标准的JavaScript单元测试工具呢?
-
-
How to test the type of a thrown exception in Jest I'm working with some code where I need to test the type of an exception thrown by a function (is it TypeError, ReferenceError, etc.?). My current testing framework is AVA and I can test it as a second argument method, like here: I started rewriting my t
-
-
标签