Switch to a new testing system
See original GitHub issueFrameworks
Framework | Simultaneous Testing | Multiple Processes For Multiple Files | Global Error Handling | Builtin Babel | NPM Downloads/Month |
---|---|---|---|---|---|
Mocha (current) | ✓ | ||||
Ava | ✓ | ✓ | ✓ | ||
Jest | ✓ | ✓ | ✓ |
Request Libraries
Request Library | Uses Promises | Builtin Response Testing | Response Testing Covers Common Use Cases | Reasonable Defaults For Testing | NPM Downloads/Month |
---|---|---|---|---|---|
Superagent | ✓ | ||||
Supertest (current) | ✓ | ✓ | |||
Supertest-As-Promised | ✓ | ✓ | ✓ | ||
Assert-Request | ✓ | ✓ | ✓ | ✓ | |
Request | ✓ | ||||
Request-Promise | ✓ | ||||
Node-Fetch | ✓ | ✓ | |||
Requisition | ✓ | ✓ |
Notes
(current)
indicates that Koa currently uses it.- If we use a framework with builtin babel support, we can easily use async/await in place of builtin response testing if the library supports promises.
- If a request library doesn’t have reasonable defaults, we can easily create a wrapper that does.
- If the response testing doesn’t cover common use cases, a custom helper assertion function can be used instead.
If anybody has any more columns or rows to add to either table, please leave a comment.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:57 (52 by maintainers)
Top Results From Across the Web
Switching to a new test management software, Effectively.
Discover Six simple steps to migrate to a new Test management software while still keeping your sanity.
Read more >Future of Testing in Education: Effective and Equitable ...
The NAEP marks the modern era of standardized assessments in schools to evaluate learning and a shift away from measuring intelligence toward ...
Read more >F.A.S.T. testing replacing FSA in Florida after Gov. DeSantis ...
Governor DeSantis signed a bill eliminating the annual student assessments – in favor of a “progress monitoring” system.
Read more >Move a Student Test Between Sessions
Step-by-Step Link to Step-by-Step · Click Create Session. · Type or select required details. · Click the checkbox under the new session. ·...
Read more >Testing - NYC DOE
Learn what New York State and local tests tests your students will take this year.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m skeptical of stuff like this because the ecosystem will be completely different in a few months. Though I won’t stop anyone who wants to refactor things all day 😄
Jest looks like the best I’ve seen so far.