Join the DZone community and get the full member experience.Join For Free
The second thing I don't like about the chapter is that the author just after unit-testing/TDD introduction jumps to the example details and, by the way, the first framework following utilizes BDD. Thus, it would be just proper to explain first that the testing frameworks described below in the book based on *Unit and BDD styles (and QUnit is rather a custom style) and give some input regarding the styles.
What I found personally useful is the chapter about JsTestDriver. Of course I had heard about that one, but never bothered to go into details. The chapter puts it clear how one can exploit the solution. And it seems as a good alternative for cross-browser tests to Selenium RC (Selenium is still designed for functional testing) and Browserstack, which costs pretty money.
Published at DZone with permission of Dmitry Sheiko , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.