Unit tests for your JavaScript application with MVC and QUnit
Silicon Valley Pad
·
Tuesday, June 14, 2011, 6:30pm
Posted 11 months, 3 weeks ago
While more and more application code move from the back-end to a
JavaScript-based front-end, we still need to test this code
efficiently. Testing JavaScript is often done using browser
automation frameworks, but system-level testing is slow and
brittle.
At this meetup we will present a way to structure your
JavaScript application according to the Model-View-Controller (MVC)
design pattern and how... [read more]
While more and more application code move from the back-end to a
JavaScript-based front-end, we still need to test this code
efficiently. Testing JavaScript is often done using browser
automation frameworks, but system-level testing is slow and
brittle.
At this meetup we will present a way to structure your
JavaScript application according to the Model-View-Controller (MVC)
design pattern and how this enables us to write unit tests for a
large part of the application logic, using a testing framework like
QUnit.
The presentation will include code demonstrations and we will
discuss pitfalls and improvements.