004 jsAir - Unit Testing JavaScript with Christian Johansen, Joe Eames, and Ward Bell
Unit Testing JavaScript with Christian Johansen, Joe Eames, and Ward BellDescription:
Testing in JavaScript comes with its own set of challenges. But in recent years, tools and patterns have been developed to make writing unit tests and tracking coverage much simpler than ever before. Join us as we talk with Ward Bell, Joe Eames, and Christian Johansen about unit testing JavaScript.
Show sponsors:- Egghead.io - Bite-sized web development video training
- Frontend Masters - Expert front-end training
- {Track:js} - JavaScript Error Monitoring
- Tips: Learn about Functional Programming and Learn about loose coupling
- Picks: Simple made easy and Off to be the wizard
- Tips: Learn to TDD and do it for a year
- Picks: Lambda conf, Sherlock, Soundtrack to Star Wars Episode 7, and Kent C. Dodds
- Tips: Avoid seeing Star Wars and Think of tests as a feature
- Picks: Thinking fast and slow
- Tips: Use as many pure functions as possible. Easier to test. and Test at the highest level possible to get coverage and flexibility on implementation
- Picks: jsverify, Eric Elliot’s blog posts in general, and Constraints Liberate, Liberties Constrain — Runar Bjarnason
- Tips: When building a complex thing with parts that are unknown, focus first on mini prototypes of each of those unknowns. and Mentoring / coaching is essential to learning. Self-driven learning is good but only goes part of the way.
- Picks: Fun Fun Function - Streams by @mpjme and Simplicity Matters
- Tips: Test your code and Try out AVA
- Picks: Predictable Sherlock Holmes - Studio C, Libraries.io, and JS Remote Conf
- Tips: console.time & console.timeEnd
- Picks: Egghead Redux Series Notes and The Revolution of Pure Views