PBS 34 of X More JS Testing with QUnit

Published: April 30, 2017, 1:08 p.m.

In this installment of Bart\u2019s Programming By Stealth series, we review our test code using QUnit, and then learn how to use QUnit to test our code within a real browser page. We do that using the API we built together, the Bartificer Link Toolkit that identifies external links on a web page, makes them open in new tabs, adds the tag rel=noopener, and adds a cute icon to identify them as external links. As always Bart\u2019s terrific written tutorials and downloadable examples are available at pbs.bartificer.net/...