Art of Unit Testing, The
Autor Javascript, Roy Osherove, Vladimir Khorikoven Limba Engleză Paperback – 22 mar 2024
Recomandăm acest volum programatorilor de orice nivel, de la începători care scriu primele teste până la arhitecți software care doresc să rafineze procesele de livrare a codului. Art of Unit Testing, The, ajunsă la a treia ediție, reprezintă o resursă tehnică fundamentală, adaptată acum ecosistemului modern de JavaScript și Node.js. Remarcăm tranziția autorilor de la exemplele tradiționale în C# spre un mediu asincron și modularizat, reflectând fidel complexitatea aplicațiilor web contemporane. Structura cărții este una riguroasă și practică. Autorii ghidează cititorul prin mecanismele de izolare, explicând detaliat utilizarea obiectelor de tip mock, stub și a framework-urilor de testare. Merită menționat că, deși sintaxa este specifică JavaScript, principiile de design software rămân universale, putând fi extrapolate cu ușurință în Java sau Python. Ca și Vladimir Khorikov în Unit Testing, autorul distilează experiență reală în principii acționabile, punând un accent deosebit pe valoarea pe care testele o aduc pe termen lung: reducerea costurilor de mentenanță și facilitarea refactorizării. Reținem abordarea pragmatică a situațiilor dificile, cum ar fi gestionarea dependențelor prin injecție sau abordarea sistemelor legacy. Spre deosebire de alte manuale pur teoretice, această ediție publicată de Manning Publications oferă un set de instrumente agnostice față de bibliotecile specifice, punând accent pe starea de spirit și disciplina necesare unui dezvoltator de elită. În final, volumul nu se rezumă la a preda o sintaxă, ci construiește o strategie completă pentru validarea logicii de business într-un mod predictibil.
Preț: 270.60 lei
Preț vechi: 338.25 lei
-20%
Carte disponibilă
Livrare economică 30 iunie-14 iulie
Livrare express 16-20 iunie pentru 127.92 lei
Specificații
ISBN-10: 1617297488
Pagini: 325
Dimensiuni: 191 x 236 x 25 mm
Greutate: 0.5 kg
Ediția:3. Auflage
Editura: Manning Publications
De ce să citești această carte
Pentru dezvoltatorii care vor să treacă de la scrierea haotică de teste la o strategie coerentă de testare unitară. Veți câștiga abilitatea de a testa cod asincron complex și de a transforma codul legacy „netestabil” în sisteme stabile și ușor de modificat. Este o investiție esențială pentru a livra software de calitate superioară în mediul Node.js și nu numai.
Despre autor
Roy Osherove este un expert recunoscut la nivel internațional în testare unitară și metodologii agile, fiind autorul unor volume de referință în domeniu. Consultă și antrenează echipe din întreaga lume, menținându-și în același timp statutul de programator activ. Vladimir Khorikov, co-autor al acestei ediții, este Microsoft MVP și un autor consacrat, cunoscut pentru abordările sale structurate asupra principiilor de testare. Împreună, aceștia aduc o perspectivă duală, combinând viziunea strategică cu expertiza tehnică de nișă.
Descriere scurtă
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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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.
What's inside
- Creating readable, maintainable, and trustworthy tests
- Working with fakes, stubs, mock objects, and isolation (mocking) frameworks
- Simple dependency injection techniques
- Refactoring legacy code
About the reader
The examples in the book use JavaScript and Node and cover the full dev stack.
About the author
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. 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.