action #69205
open
Implement mocks for javascript in unit tests
Added by livdywan over 4 years ago.
Updated over 4 years ago.
Category:
Feature requests
Description
Currently we have no good way of mocking our Javascript code in tests. This came up in gh#3277.
Suggestions:
- We should consider modularizing our Javascript more to make testing easier.
- QUnit is a unit test framework that can be run in node or as part of Selenium tests
- sinonjs implements mocking facilities
- Category set to Feature requests
- Priority changed from Normal to Low
- Target version set to future
not sure if mocking in javascript is something that we really need. I would rather favor to have less logic in javascript itself in our setup.
Also available in: Atom
PDF