Getting Started with Unit Testing Javascript
Learn about unit testing JavaScript issues and DOM unit testing JavaScript issues.
We'll cover the following...
We'll cover the following...
Unit testing JavaScript issues
Unit testing for JavaScript is a big, somewhat contentious subject. For years, JavaScript’s testing tools were significantly less powerful than Ruby’s. Although the Ruby tools are more flexible, the JavaScript tools are more than powerful enough to be useful.
And yet, many projects don’t unit-test JavaScript code much, because there are significant impediments to writing good JavaScript tests:
-
The ecosystem is still complicated. There are many ...