Latest Live Episodes
Webfont Smoke Test ReduxMon, 31 Aug
Our 404 page uses Typekit, which loads a webfont via a small script embedded in the page. We want to update our smoke tests to ensure that the font loads properly. Fortunately, we’ve done that before, and with one small refactoring, our font test code works with any URL. Next, we improve our cache-busting build script to handle multiple files.
The ‘Content-Type’ HeaderWed, 26 Aug
Our 404 page has a little glitch where we use a curly quote. Instead of displaying a ’ character, it displays â€™. It’s a classic character set error and we can fix it by setting the Content-Type header in our server code. We diagnose the problem, write a test to reproduce it, and fix it. Easy peasy.
Totally StylishMon, 24 Aug
We finally finish styling our 404 page! We resolve the last of our vertical layout challenges and finish off our tests. We wrap up the chapter with a reflection on our test-driven CSS experiences so far.
Cross-Browser TestsFri, 28 Aug
We’ve set up our automated tests, but they’re running in Node.js, not real browsers. That’s a problem because Node and browsers aren’t totally compatible. We need to test our code in our actual supported browsers to be certain it works. We look at the options and demonstrate how to get Karma up and running.
Test FrameworksFri, 21 Aug
AssertionsFri, 14 Aug
We start our look at test automation with the first of three fundamental testing tools: assertions. We start from first principles by building our own assertion function, then introduce the popular Chai assertion library. Along the way, we touch on exception handling and take a look at the pros and cons of different assertion styles.
An in-depth screencast about
You've taught me a lot this past year and haveJason Weden
been better than a teacher, a true mentor.
I’m completely new to TDD and this is by farAdam Brodzinski
the most comprehensive TDD for JS... your videos are
a breath of fresh air!
This is a gold mine... This will help a lot in my day job.Timothy Myers
Love what you're doing. It's helped out ourScott Corgan
team tremendously here at Sevenly.
I’m delighted with LCJ. It’s interesting and informative, and theCrispin Bennett
candid way you think aloud makes it personal and engaging.
You’ve done a terrific job.
What is Test-Driven Development?
Who am I?
I’m James Shore. I’ve been building applications using test-driven development and other Agile techniques for over 15 years. I’m a recipient of the Agile Alliance’s Gordon Pask Award for Contributions to Agile Practice and I wrote a book called The Art of Agile Development.
What You Get
This screencast series focuses on rigorous, professional web development. That means test-driven development, of course, and also techniques such as build automation, continuous integration, refactoring, and evolutionary design. We test against multiple browsers and platforms, including iOS, and we use Node.js on the server.
All videos are DRM-free, available for streaming or download, and all source code is included.
The series consists of four main channels. The “Recorded Live” channel focuses on real-world development, warts and all. It’s meant for experienced programmers.
If you’re a new developer, the “How To” channel is for you. It’s meant for beginners who have recently learned to program and are ready to start their professional career.
The “Lessons Learned” channel provides concise reviews of key topics, such as continuous integration, test-driven development, and build automation. It’s great for review and reference.
Advanced programmers will enjoy “The Lab”, our channel focused on exploring new tools and ideas.
New videos are published every week. At the time of this writing, a new “Recorded Live” episode is released every Monday and Wednesday, and a new “How To” episode is released every Friday.
When the current “How To” season finishes, we will probably return releasing a new “Lessons Learned” or “The Lab” episode on the first Friday of every month.
“Recorded Live” and “How To” episodes are about 15 minutes long. “Lessons Learned” videos are typically about 15-30 minutes long, and episodes of “The Lab” tend to be about an hour.
I have learned so much more than I expected.
I really enjoy your approach to screencasting and
wish the series wouldn’t end some day.