AMO:Developers/JavaScriptTesting: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 49: Line 49:
* Cons
* Cons
** Might be tricky to integrate into CI
** Might be tricky to integrate into CI
==== [https://github.com/caolan/nodeunit nodeunit] ====
* Pros
** can take advantage of the node.js world (like require statements!)
** nice command line output
** easy for CI
* Cons
** Needs a mock dom (like [https://github.com/tmpvar/jsdom jsdom]?)
** might take some fiddling to get things working outside of the Zamboni template stack (loading JS libraries, etc)
** will it be similar enough to production? (i.e. Firefox)
* Notes
** see also [https://github.com/kof/node-qunit/ node-qunit] (above)


=== Mock Objects ===
=== Mock Objects ===
Confirmed users
324

edits

Navigation menu