Skip to content

Unit tests for your JavaScript application with MVC and QUnit

Photo of Lars Thorup
Hosted By
Lars T.
Unit tests for your JavaScript application with MVC and QUnit

Details

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.

Water, soft drinks and sandwiches will be served.

Photo of Test Driven Developers Bay Area group
Test Driven Developers Bay Area
See more events
Silicon Valley Pad
1370 Willow Road, 2nd Floor · Menlo Park, CA