Articoli correlati a The Art of Unit Testing: With Examples in JavaScript

The Art of Unit Testing: With Examples in JavaScript - Brossura

 
9781617297489: The Art of Unit Testing: With Examples in JavaScript

Sinossi

Unit testing is more than just a collection of tools and practices—it’s a state of mind! This bestseller reveals the master’s secrets for delivering robust, maintainable, and trustworthy code.

Thousands of developers have learned to hone their code quality under the tutelage of The Art of Unit Testing. This revised third edition updates an international bestseller to reflect modern development tools and practices, as well as to cover JavaScript.

Inside The Art of Unit Testing, Third Edition you will learn how to:

  • Create readable, maintainable, and trustworthy tests
  • Work with fakes, stubs, mock objects, and isolation frameworks
  • Apply simple dependency injection techniques
  • Refactor legacy code with confidence
  • Test both frontend and backend code

Effective unit tests streamline your software development process and ensure you deliver consistent high-quality code every time. With practical examples in JavaScript and Node, this hands-on guide takes you from your very first unit tests all the way to comprehensive test suites, naming standards, and refactoring techniques. You’ll explore test patterns and organization, working with legacy code and even “untestable” code. The many tool-agnostic examples are presented in JavaScript and carefully designed so that they apply to code written in any language.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

The art of unit testing is more than just learning the right collection of tools and practices. It’s about understanding what makes great tests tick, finding the right strategy for each unique situation, and knowing what to do when the testing process gets messy. This book delivers insights and advice that will transform the way you test your software.

About the book

The Art of Unit Testing, Third Edition shows you how to create readable and maintainable tests. It goes well beyond basic test creation into organization-wide test strategies, troubleshooting, working with legacy code, and “merciless” refactoring. You’ll love the practical examples and familiar scenarios that make testing come alive as you read. This third edition has been updated with techniques specific to object-oriented, functional, and modular coding styles. The examples use JavaScript.

What's inside

  • Deciding on test types and strategies
  • Test Entry & Exit Points
  • Refactoring legacy code
  • Fakes, stubs, mock objects, and isolation frameworks
  • Object-Oriented, Functional, and Modular testing styles

About the reader

Examples use JavaScript, TypeScript, and Node.js.

About the author

Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Vladimir Khorikov is the author of Manning’s Unit Testing Principles, Practices, and Patterns, a Pluralsight author, and a Microsoft MVP.

Table of Contents

PART 1
1 The basics of unit testing
2 A first unit test
PART 2
3 Breaking dependencies with stubs
4 Interaction testing using mock objects
5 Isolation frameworks
6 Unit testing asynchronous code
PART 3
7 Trustworthy tests
8 Maintainability
PART 4
9 Readability
10 Developing a testing strategy
11 Integrating unit testing into the organization
12 Working with legacy code
Appendix Monkey-patching functions and modules

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Informazioni sull?autore

Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Still an active coder, he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He is also the author of Elastic Leadership (Manning 2016). Roy’s blog is at ArtOfUnitTesting.com.

Vladimir Khorikov is the author of Unit Testing Principles, Practices, and Patterns, Pluralsight author, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

Compra usato

Condizioni: molto buono
The book has been read, but is...
Visualizza questo articolo

EUR 10,30 per la spedizione da Regno Unito a Italia

Destinazione, tempi e costi

EUR 1,20 per la spedizione da U.S.A. a Italia

Destinazione, tempi e costi

Risultati della ricerca per The Art of Unit Testing: With Examples in JavaScript

Foto dell'editore

Khorikov, Vladimir
Editore: Manning, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Antico o usato Paperback

Da: WorldofBooks, Goring-By-Sea, WS, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Codice articolo GOR014276760

Contatta il venditore

Compra usato

EUR 20,28
Convertire valuta
Spese di spedizione: EUR 10,30
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy; Khorikov, Vladimir
Editore: Manning Publications, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Antico o usato Paperback

Da: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: As New. No Jacket. Pages are clean and are not marred by notes or folds of any kind. ~ ThriftBooks: Read More, Spend Less 1.15. Codice articolo G1617297488I2N00

Contatta il venditore

Compra usato

EUR 26,33
Convertire valuta
Spese di spedizione: EUR 7,36
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy
Editore: Manning, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Antico o usato Brossura

Da: medimops, Berlin, Germania

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: very good. Gut/Very good: Buch bzw. Schutzumschlag mit wenigen Gebrauchsspuren an Einband, Schutzumschlag oder Seiten. / Describes a book or dust jacket that does show some signs of wear on either the binding, dust jacket or pages. Codice articolo M01617297488-V

Contatta il venditore

Compra usato

EUR 32,88
Convertire valuta
Spese di spedizione: EUR 4,50
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: 2 disponibili

Aggiungi al carrello

Foto dell'editore

JavaScript
Editore: Pearson Education, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Nuovo PAP

Da: PBShop.store US, Wood Dale, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781617297489

Contatta il venditore

Compra nuovo

EUR 44,87
Convertire valuta
Spese di spedizione: EUR 1,20
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 15 disponibili

Aggiungi al carrello

Foto dell'editore

JavaScript
Editore: Pearson Education, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Nuovo PAP

Da: PBShop.store UK, Fairford, GLOS, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781617297489

Contatta il venditore

Compra nuovo

EUR 40,25
Convertire valuta
Spese di spedizione: EUR 6,02
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 15 disponibili

Aggiungi al carrello

Foto dell'editore

JavaScript
Editore: Manning Publications, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Nuovo Paperback / softback

Da: THE SAINT BOOKSTORE, Southport, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback / softback. Condizione: New. New copy - Usually dispatched within 2 working days. 218. Codice articolo B9781617297489

Contatta il venditore

Compra nuovo

EUR 40,25
Convertire valuta
Spese di spedizione: EUR 7,13
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy; Khorikov, Vladimir
Editore: Manning, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Nuovo Brossura

Da: Speedyhen, London, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: NEW. Codice articolo NW9781617297489

Contatta il venditore

Compra nuovo

EUR 40,71
Convertire valuta
Spese di spedizione: EUR 8,00
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy und Vladimir Khorikov:
Editore: Manning Publications, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Antico o usato paperback

Da: Studibuch, Stuttgart, Germania

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

paperback. Condizione: Gut. 260 Seiten; 9781617297489.3 Gewicht in Gramm: 1. Codice articolo 946405

Contatta il venditore

Compra usato

EUR 32,41
Convertire valuta
Spese di spedizione: EUR 17,90
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

JavaScript, Roy Osherove, Vladimir Khorikov
Editore: Manning Publications, US, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Nuovo Paperback

Da: Rarewaves.com UK, London, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: New. 3rd. The Art of Unit Testing, Third Edition  updates an international bestseller to reflect modern development tools and practices. This expanded edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. The many tool-agnostic examples are presented in JavaScript, and are carefully designed so that they apply to code written in any language. about the technology Unit testing is a universally-adopted practice on dev teams of all sizes. Great developers will tell you that testing is as much a state of mind as a collection of tools and practices.   The Art of Unit Testing, Third Edition  takes you below the surface and understand how unit testing can transform the way you deliver and maintain software. Now with examples in JavaScript, this new edition has been updated to reflect the characteristics of a modern codebase, including async and modularized, distributed services. The practices and patterns you'll learn can also be easily applied to other languages, including C#, Java, and Python. about the book The Art of Unit Testing, Third Edition  guides you step by step from your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. Now with examples using JavaScript and Node, this expanded third edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You'll get to grips with complex subjects such as mocks and stubs, explore how to handle tricky legacy codebases, and save yourself time with tests that function for both frontend and backend applications.   The Art of Unit Testing, Third Edition  is an essential guide for any unit tester who wants to feel confident writing code that's easier to create, maintain, and adapt. Codice articolo LU-9781617297489

Contatta il venditore

Compra nuovo

EUR 48,19
Convertire valuta
Spese di spedizione: EUR 2,29
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

JavaScript, Roy Osherove, Vladimir Khorikov
Editore: Manning Publications, US, 2024
ISBN 10: 1617297488 ISBN 13: 9781617297489
Nuovo Paperback

Da: Rarewaves USA, OSWEGO, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: New. 3rd. The Art of Unit Testing, Third Edition  updates an international bestseller to reflect modern development tools and practices. This expanded edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. The many tool-agnostic examples are presented in JavaScript, and are carefully designed so that they apply to code written in any language. about the technology Unit testing is a universally-adopted practice on dev teams of all sizes. Great developers will tell you that testing is as much a state of mind as a collection of tools and practices.   The Art of Unit Testing, Third Edition  takes you below the surface and understand how unit testing can transform the way you deliver and maintain software. Now with examples in JavaScript, this new edition has been updated to reflect the characteristics of a modern codebase, including async and modularized, distributed services. The practices and patterns you'll learn can also be easily applied to other languages, including C#, Java, and Python. about the book The Art of Unit Testing, Third Edition  guides you step by step from your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. Now with examples using JavaScript and Node, this expanded third edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You'll get to grips with complex subjects such as mocks and stubs, explore how to handle tricky legacy codebases, and save yourself time with tests that function for both frontend and backend applications.   The Art of Unit Testing, Third Edition  is an essential guide for any unit tester who wants to feel confident writing code that's easier to create, maintain, and adapt. Codice articolo LU-9781617297489

Contatta il venditore

Compra nuovo

EUR 48,54
Convertire valuta
Spese di spedizione: EUR 3,41
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 10 disponibili

Aggiungi al carrello

Vedi altre 27 copie di questo libro

Vedi tutti i risultati per questo libro