Testing JavaScript isn't just a thing you can read about in children's fairy tales.
This is just a scratch pad of everything I find. As the really good resources start to float to the top, I'll transition them to a more permanent GitHub repo.
- Test-Driven JavaScript Development [book]
- JavaScript Testing Recipes [book]
- Testable JavaScript [book]
- Testable JavaScript - Architecting Your Application for Testability [video]
- Writing Testable JavaScript (A List Apart) [article]
- Writing Testable JavaScript (Adequately Good) [article]
- Writing Testable Frontend JavaScript Part 1 - Anti-Patterns and Their Fixes [article]
- Writing Testable Frontend JavaScript Part 2 - Refactor Away Anti-Patterns [article]
- Testing Your Frontend JavaScript Code Using Mocha, Chai, and Sinon [article]
- JavaScript Dom Testing With Mocha + Grunt + Chai and JQuery [article]
- JavaScript Unit Test Tools [StackOverflow]
- PhantomJS [tool]
- mocha-phantomjs [tool]
- Testing JavaScript with PhantomJS
- PhantomJS: POST, Auth, and Timeouts [article]
- Proxy Authentication in PhantomJS [article]
- jQuery + Node.js + PhantomJS = Automation Awesomesauce [video]
- CasperJS [tool]
- mocha-casperjs [tool]
- A Drinking Tour of CasperJS [slides]
- Testing with Casper-Phantom-Mocha-Chai [article]
- End to End Testing with CasperJS [article]
- Frontend Testing with PhantomJS and CasperJS [article]
Broken Links
Update
Writing Testable Frontend Javascript Part 1 - Anti-patterns and their fixes
Writing Testable Frontend Javascript Part 2 - Refactor away anti-patterns