Past Meetup

The Hunger Tests: Mockingjax w/Jordan Kasper

This Meetup is past

74 people went

Location image of event venue

Details

One of the most difficult pieces of the front-end testing puzzle is having to work with (or rather, without) a server. Testing JavaScript code should be able to be done in isolation, and the jQuery Mockjax library allows developers to do just that. In this talk we'll cover what Mockjax is and how it can help you write better tests by mocking out Ajax calls without touching your application source code.

After introducing the library and basic usage, we'll dive into more advanced topics such as dynamic request matching, simulated latency, mocking server errors, and using external services or files as proxies. Developers will come out of this session with a tool they can use to enhance the idempotence and atomicity of their front end tests.

BIO:

Shortly after it arrived at his home in 1993, Jordan began disassembling his first computer - his mother was not happy. She breathed more easily when he moved from hardware into programming. Jordan's experience includes large companies, startups, and universities. He is the lead developer on jQuery Mockjax as well as a contributor on a number of other open source projects. Jordan's primary mission is to use JavaScript, HTML, and CSS to elevate web applications above their desktop rivals. In his down time he enjoys puzzles of all sorts and board games.