Testable JavaScript: Ensuring Reliable Code

3,41 valoración promedio
( 101 valoraciones por Goodreads )
 
9781449323394: Testable JavaScript: Ensuring Reliable Code

One skill that’s essential for any professional JavaScript developer is the ability to write testable code. This book shows you what writing and maintaining testable JavaScript for the client- or server-side actually entails, whether you’re creating a new application or rewriting legacy code.

From methods to reduce code complexity to unit testing, code coverage, debugging, and automation, you’ll learn a holistic approach for writing JavaScript code that you and your colleagues can easily fix and maintain going forward. Testing JavaScript code is complicated. This book helps experienced JavaScript developers simply the process considerably.

  • Get an overview of Agile, test-driven development, and behavior-driven development
  • Use patterns from static languages and standards-based JavaScript to reduce code complexity
  • Learn the advantages of event-based architectures, including modularity, loose coupling, and reusability
  • Explore tools for writing and running unit tests at the functional and application level
  • Generate code coverage to measure the scope and effectiveness of your tests
  • Conduct integration, performance, and load testing, using Selenium or CasperJS
  • Use tools for in-browser, Node.js, mobile, and production debugging
  • Understand what, when, and how to automate your development processes

"Sinopsis" puede pertenecer a otra edición de este libro.

Review:

Q&A with Mark Ethan Trostler, author of "Testable JavaScript"

Q. Why is your book timely-- what makes it important right now?

A. The rise of mobile is well documented. The only thing that all of these mobile devices have in common, not only with themselves but also their bigger desktop brethren, is a browser. The only language available in all of those environments is JavaScript. Now, with the rise of server-side JavaScript, it may well be the only language that developers need for their increasingly complex applications.

From the deepest darkest recesses of the server to the bright light of day on a mobile device, laptop, or desktop-- JavaScript is ubiquitous. Yet JavaScript is also a relative newcomer, especially on the server side. The toolchain-available ability to write, test, and deploy enterprise-scale (or any-scale) JavaScript-based applications is still in its infancy. In this fast-moving, constantly changing landscape it is more important than ever to understand the best practices surrounding how to structure, code, test, and deploy your JavaScript applications.

"Testable JavaScript" is at the forefront of this movement demonstrating how to craft, test, and deploy testable and maintainable JavaScript running on the complete stack from server to client (and back).

Q. What information do you hope that readers of your book will walk away with?

A. Readers will recognize that the lessons they have learned from previous experiences with other language translate well to JavaScript-- albeit with several twists and turns.

After gaining a better appreciation for the myriad of environments within which JavaScript must run, and then having wrapped their heads around code complexity as it relates to JavaScript specifically, readers will see concrete examples of how their JavaScript can get into trouble, followed by tips and honest advice how to extricate their code from those pitfalls.

Readers will see not only how to write code that is testable but also how exactly to test it-- from unit tests to integration tests to performance testing and beyond. Readers will get a first-hand look at how to generate code coverage for all of their JavaScript tests, both at the unit and integration test levels.

Finally, readers will learn how to make all of the above automatic in several different environments, whether running tests on the command line, in a headless browser, or in a real

Q. What's the most exciting/important thing happening in your space?

A. The rise of server-side JavaScript via NodeJS and Rhino is the most exciting development in the JavaScript world. Allowing developers to code their entire app in a single language is a giant boon for productivity. JavaScript is a "hot" language right now, not only is there tons of work being done on the server-side-- the number of open source third-party modules is growing exponentially-- but client-side JavaScript frameworks are also proliferating like weeds. There are a huge number of "framework" libraries available that are very actively being developed, not to mention that the language itself is also under heavy development.

Finally, browser vendors are far from standing still; there are a huge number of newly standardized and almost-standardized features being rolled out constantly in all major browsers for JavaScript developers to start taking advantage of.

There has never been a better time to be a JavaScript developer.

About the Author:

Mark Ethan Trostler has been writing and testing code for more than 20 years at startups (IPivot) and large corporations (Qualcomm, Intel, Redback Networks, Juniper Networks, Yahoo, and currently Google). Previously, as a Senior Principal Front End Engineer on the Yahoo! Mail team, he helped spearhead testing and quality for the latest rewrite of Yahoo! Mail. He's currently employed by Google as a Software Engineer in Test with the Ads team helping to ensure an excellent experience for their customers. He's spoken at several internal and external conferences (Yahoo TechPulse 2010 and 2011, Yahoo's Front End Summit, and at YUIConf 2011) about Testable Javascript and is the author of the Open Source Javascript Unit Test Environment (https://github.com/zzo/JUTE).

"Sobre este título" puede pertenecer a otra edición de este libro.

Los mejores resultados en AbeBooks

Edición internacional
Edición internacional

1.

Mark Ethan Trostler
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Tapa blanda Cantidad: 10
Edición internacional
Librería
bookscollection
(Delhi, DELHI, India)
Valoración
[?]

Descripción Estado de conservación: Brand New. PAPERBACK,Book Condition New, International Edition. We Do not Ship APO FPO AND PO BOX. Cover Image & ISBN may be different from US edition but contents as US Edition. Printing in English language.NO CD AND ACCESS CODE. Quick delivery by USPS/UPS/DHL/FEDEX/ARAMEX ,Customer satisfaction guaranteed. We may ship the books from Asian regions for inventory purpose. Nº de ref. de la librería ABEAV*S##6263

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 13,47
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 3,59
De India a Estados Unidos de America
Destinos, gastos y plazos de envío

2.

Mark Ethan Trostler
Editorial: O Reilly Media, Inc, USA, United States (2013)
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Paperback Cantidad: 1
Librería
The Book Depository
(London, Reino Unido)
Valoración
[?]

Descripción O Reilly Media, Inc, USA, United States, 2013. Paperback. Estado de conservación: New. Language: English . Brand New Book. 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. Nº de ref. de la librería AAH9781449323394

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 18,03
Convertir moneda

Añadir al carrito

Gastos de envío: GRATIS
De Reino Unido a Estados Unidos de America
Destinos, gastos y plazos de envío

3.

Mark Ethan Trostler
Editorial: O Reilly Media, Inc, USA, United States (2013)
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Paperback Cantidad: 1
Librería
The Book Depository US
(London, Reino Unido)
Valoración
[?]

Descripción O Reilly Media, Inc, USA, United States, 2013. Paperback. Estado de conservación: New. Language: English . Brand New Book. 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. Nº de ref. de la librería AAH9781449323394

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 18,06
Convertir moneda

Añadir al carrito

Gastos de envío: GRATIS
De Reino Unido a Estados Unidos de America
Destinos, gastos y plazos de envío

4.

Trostler, Mark Ethan
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Paperback Cantidad: > 20
Impresión bajo demanda
Librería
BargainBookStores
(Grand Rapids, MI, Estados Unidos de America)
Valoración
[?]

Descripción Paperback. Estado de conservación: New. This item is printed on demand. Item doesn't include CD/DVD. Nº de ref. de la librería 6154395

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 17,12
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 3,41
A Estados Unidos de America
Destinos, gastos y plazos de envío

5.

Trostler, Mark Ethan
Editorial: O'Reilly Media
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos PAPERBACK Cantidad: > 20
Librería
Mediaoutlet12345
(Springfield, VA, Estados Unidos de America)
Valoración
[?]

Descripción O'Reilly Media. PAPERBACK. Estado de conservación: New. 1449323391 *BRAND NEW* Ships Same Day or Next!. Nº de ref. de la librería SWATI2122342898

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 17,89
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 3,41
A Estados Unidos de America
Destinos, gastos y plazos de envío

6.

Trostler, Mark Ethan
Editorial: O'Reilly Media (2017)
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Paperback Cantidad: 13
Impresión bajo demanda
Librería
Murray Media
(North Miami Beach, FL, Estados Unidos de America)
Valoración
[?]

Descripción O'Reilly Media, 2017. Paperback. Estado de conservación: New. Never used! This item is printed on demand. Nº de ref. de la librería 1449323391

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 22,62
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 1,70
A Estados Unidos de America
Destinos, gastos y plazos de envío

7.

Trostler, Mark Ethan
Editorial: O'Reilly Media
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos PAPERBACK Cantidad: 3
Librería
Lakeside Books
(Benton Harbor, MI, Estados Unidos de America)
Valoración
[?]

Descripción O'Reilly Media. PAPERBACK. Estado de conservación: New. 1449323391 BRAND NEW, GIFT QUALITY! NOT OVERSTOCKS OR MARKED UP REMAINDERS! DIRECT FROM THE PUBLISHER!|0.97. Nº de ref. de la librería OTF-Y-9781449323394

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 21,44
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 3,41
A Estados Unidos de America
Destinos, gastos y plazos de envío

8.

Mark Ethan Trostler
Editorial: O'Reilly Media, Inc, USA
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Paperback Cantidad: 4
Librería
THE SAINT BOOKSTORE
(Southport, Reino Unido)
Valoración
[?]

Descripción O'Reilly Media, Inc, USA. Paperback. Estado de conservación: new. BRAND NEW, Testable JavaScript, Mark Ethan Trostler, 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. Nº de ref. de la librería B9781449323394

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 17,37
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 7,63
De Reino Unido a Estados Unidos de America
Destinos, gastos y plazos de envío

9.

Mark Ethan Trostler
Editorial: Oand#8242;Reilly (2013)
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Cantidad: 3
Librería
Books2Anywhere
(Fairford, GLOS, Reino Unido)
Valoración
[?]

Descripción Oand#8242;Reilly, 2013. PAP. Estado de conservación: New. New Book. Shipped from UK in 4 to 14 days. Established seller since 2000. Nº de ref. de la librería WO-9781449323394

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 16,05
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 9,90
De Reino Unido a Estados Unidos de America
Destinos, gastos y plazos de envío

10.

Mark Ethan Trostler
Editorial: O'Reilly Media
ISBN 10: 1449323391 ISBN 13: 9781449323394
Nuevos Paperback Cantidad: 20
Librería
BuySomeBooks
(Las Vegas, NV, Estados Unidos de America)
Valoración
[?]

Descripción O'Reilly Media. Paperback. Estado de conservación: New. Paperback. 274 pages. Dimensions: 9.1in. x 6.8in. x 0.6in.One skill thats essential for any professional JavaScript developer is the ability to write testable code. This book shows you what writing and maintaining testable JavaScript for the client- or server-side actually entails, whether youre creating a new application or rewriting legacy code. From methods to reduce code complexity to unit testing, code coverage, debugging, and automation, youll learn a holistic approach for writing JavaScript code that you and your colleagues can easily fix and maintain going forward. Testing JavaScript code is complicated. This book helps experienced JavaScript developers simply the process considerably. Get an overview of Agile, test-driven development, and behavior-driven developmentUse patterns from static languages and standards-based JavaScript to reduce code complexityLearn the advantages of event-based architectures, including modularity, loose coupling, and reusabilityExplore tools for writing and running unit tests at the functional and application levelGenerate code coverage to measure the scope and effectiveness of your testsConduct integration, performance, and load testing, using Selenium or CasperJSUse tools for in-browser, Node. js, mobile, and production debuggingUnderstand what, when, and how to automate your development processes This item ships from multiple locations. Your book may arrive from Roseburg,OR, La Vergne,TN. Paperback. Nº de ref. de la librería 9781449323394

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 23,07
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 3,37
A Estados Unidos de America
Destinos, gastos y plazos de envío

Existen otras copia(s) de este libro

Ver todos los resultados de su búsqueda