AMO:Developers/JavaScriptTesting: Difference between revisions

Jump to navigation Jump to search
Line 11: Line 11:
* A test environment as close as possible to production, which is mainly the Firefox web browser
* A test environment as close as possible to production, which is mainly the Firefox web browser
** Really? What does that mean in practice (os/browser matrix)? A simpler goal is unit testing (pure JS environment) and integration testing (Fx or other).
** Really? What does that mean in practice (os/browser matrix)? A simpler goal is unit testing (pure JS environment) and integration testing (Fx or other).
** If a pure JS environment was "pretty close" to production then that would be fine.  A problematic scenario would be where something worked in the tests but not in production (the browser has its quirks!) --[[User:Kumar303|Kumar303]] 08:45, 16 November 2010 (PST)
* A test suite that can run reliably in [https://hudson.mozilla.org/ CI] and deliver meaningful results
* A test suite that can run reliably in [https://hudson.mozilla.org/ CI] and deliver meaningful results
* the ability to use a DOM since most features involve attaching behavior to the DOM
* the ability to use a DOM since most features involve attaching behavior to the DOM
Confirmed users
324

edits

Navigation menu