Test-Driving JavaScript Applications (Pragmatic Bookshelf)
Test-Driving JavaScript Applications (Pragmatic Bookshelf)
Wednesday, 04 January 2017

The subtitle of this book is Rapid, Confident, Maintainable Code, and author Dr. Venkat Subramaniam shows that whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript, repaying your investment in writing tests with code that's predictable and cost-effective to change.

<ASIN:1680501747>

The author shows how to write meaningful, deterministic automated tests with Karma, Mocha, and Chai. You're shown how to test asynchronous JavaScript, how to deal with dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code.

Author: Dr. Venkat Subramaniam
Publisher: Pragmatic Bookshelf
Date: October 2016
Pages: 200
ISBN: 978-1680501742
Print: 1680501747
Kindle: B01MQGX4CA
Audience: JavaScript programmers
Level: advanced
Category: JavaScript 

  • Write tests that focus on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. 
  • Design asynchronous functions using automated tests.
  • Decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers.
  • Test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS.
  • Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon.
  • Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers.
  • Explore end-to-end testing to ensure all parts are wired and working well together.

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Banner
 


T-SQL Querying

Authors: Itzik Ben-Gan, Adam Machanic, Dejan Sarka & Kevin Farlee
Publisher: Microsoft Press
Pages: 864
ISBN: 9780735685048
Print:  0735685045
Kindle: B00TPRWVHY
Audience: DBAs and developers
Rating: 4.8
Reviewer: Ian Stirk

 

 

This book from SolidQ aims to giv [ ... ]



Artificial Intelligence: Problems and their solutions

Authors: Danny Kopec, Shweta Shetty and Christopher Pileggi
Publisher: Mercury
Pages: 300
ISBN: 978-1938549830
Audience: People interested in puzzles and AI.
Rating: 3
Reviewer: Mike James 

A book with companion CD-ROM that solves AI problems - sounds just what the AI expert ordered!


More Reviews

 
 
Banner

   
Banner
Banner
RSS feed of all content
I Programmer - full contents
Copyright © 2017 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.