Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

JavaScript

egységtesztelés

Melyik keretrendszert?

  • JSUnit
  • Selenium Core
  • JSSpec (MooTools)
  • UnitTestJS (Prototype)
  • QUnit (jQuery)
  • DOH Unit Testing (Dojo)
  • YUITest 2
  • YUITest 3
  • Mochitest
  • ScrewUnit
  • JsUnitTest
  • jsUnity
  • JsTestDriver
  • Crosscheck
  • Env.js
  • FireUnit
  • jSpec

Mit tesztelünk?

  • frontend
  • backend

Hol tesztelünk?

  • böngészőben
  • parancsorban

Hogyan teszteljünk?

  • Avoid Singletons
  • Avoid Closure-based dependency
  • Write tight dependency

xUnit

  • setUp()
  • runTest()
  • tearDown()

És még?

  • Asszinkron események
  • env.js
  • build/deploy

budapest.js 2010.07.26.

http://www.adequatelygood.com/2010/7/Writing-Testable-JavaScript

Learn more about creating dynamic, engaging presentations with Prezi