Click here to load reader
Upload
morgan-roderick
View
5.253
Download
1
Embed Size (px)
DESCRIPTION
Quick introduction to JsTestDriver, unit test framework for JavaScript testing.
Citation preview
JsTestDriverMorgan Roderick
What is it?
• Written by Miško Hevery at Google
• A server built in Java
• A test runner built in Java
• A bit of frontend code to instrument browsers
Why JsTestDriver?
• Command line / Continous Integration
• Runs in real browsers
• Runs all tests at the same time
How?
• Start server
• Capture browsers
• Run tests
• Demo time!
Questions?
Resources
• http://code.google.com/p/js-test-driver/
• http://gitorious.org/jstestdriver-utilities/jstdutil
• http://cjohansen.no/en/javascript/test_driven_javascript_done_right