Jump to ratings and reviews
Rate this book

Testable JavaScript: Ensuring Reliable Code

Rate this book
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.

271 pages, Paperback

First published September 22, 2012

Loading...
Loading...

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
13 (11%)
4 stars
45 (39%)
3 stars
46 (40%)
2 stars
9 (7%)
1 star
2 (1%)
Displaying 1 - 1 of 1 review
379 reviews10 followers
February 28, 2013
Abbandonato circa a metà.
Non è né carne né pesce. Inizia spiegando a grandi linee i principi del codice testabile, ma nel farlo introduce concetti e codice incomprensibili per chi non sa già scrivere codice testabile.
Ci sono manuali che spiegano molto meglio i principi, e il codice non si capisce se non si conosce già il framework per il testing che usa (un componente di YUI).

Nei capitoli successivi tenta di spiegare gli Unit Test, ma non spiega mai la sintassi del framework di test.
Prosegue con la code coverage con lo stesso stile. E qui mi sono fermato perché era codice incomprensibile.

Sembra un grosso catalogo pubblicitario di diversi sistemi di testing, con continui rimandi ai loro siti per studiare la sintassi o l'installazione, e nessuna spiegazione utile.

Se non sapete niente di testing lasciatelo sullo scaffale, non imparerete quasi nulla.
Se conoscete già il framework per unit-test di YUI, Jasmine, Selenium, ecc. probabilmente qui non troverete niente di nuovo.
Onestamente non saprei a che pubblico consigliarlo.
Displaying 1 - 1 of 1 review