Testable JavaScript: Ensuring Reliable Code

Paperback Published on: 05/03/2013
Price: £27.99
Free UK delivery on orders over £25
We can order this from the publisher
Usually dispatched within 2 weeks
Make and edit your lists in your account
No stock available in any shop.
We can order this from the publisher
Usually dispatched within 2 weeks
No stock available in any shop.

Synopsis

That's right: JavaScript code is testable, despite the lack of unit test standards for this language. With this book, you'll discover how to devise excellent tests and real-world testing plans for your existing JavaScript code. Developers starting out on a new project will greatly benefit from these guidelines. Testing a language that runs within many different implementations and environments is inherently difficult - and since most JavaScript environments are UI-based, automated testing becomes even more difficult. This guide shows developers and their managers how to overcome these problems to test JavaScript code efficiently. Topics include: Which types of Javascript testing are most effective When and why should you run tests on Javascript code Code patterns and anti-patterns that promote and inhibit Javascript testing Integrating unit tests with your development and build environments (automated test running and reporting) Code coverage: how to get it, interpret it, and automatically generate it

Publisher information

  • Publisher: O'Reilly Media
  • ISBN: 9781449323394
  • Number of pages: 274
  • Dimensions: 233 x 178 x 15 mm
  • Weight: 440g
  • Languages: English

Customer Reviews