Cantitate/Preț
Produs

Java Unit Testing with JUnit 5

Autor Shekhar Gulati, Rahul Sharma
en Limba Engleză Paperback – 12 noi 2017

În volumul Java Unit Testing with JUnit 5, autorii Shekhar Gulati și Rahul Sharma analizează în profunzime standardul actual de testare în ecosistemul Java, punând accent pe versiunea Java 8 și funcționalitățile moderne aduse de JUnit 5. Reținem că această lucrare nu se limitează la o prezentare teoretică, ci oferă soluții tehnice pentru implementarea metodologiei Test Driven Development (TDD), esențială pentru livrarea de cod robust și ușor de întreținut. Putem afirma că focusul principal este optimizarea fluxului de lucru prin utilizarea aserțiunilor, a parametrilor de metodă și a testelor dinamice, reducând în același timp volumul de cod necesar. Structura cărții este organizată progresiv, pornind de la conceptele de bază din Core JUnit 5 și avansând rapid către scenarii complexe de utilizare. Capitolele dedicate injecției de dependențe, utilizării mock-urilor și testării excepțiilor oferă instrumentele necesare pentru dezvoltarea aplicațiilor de grad enterprise. Merită menționat faptul că autorii acordă o atenție deosebită integrării cu uneltele de build și analiza statică, aspect vital pentru procesele de Continuous Delivery. Pe linia practică a volumului Test-Driven Development with Java, dar cu un focus specific pe modelul de extensii și migrarea de la JUnit 4, această resursă publicată de Apress devine un ghid tehnic indispensabil. Spre deosebire de lucrări generaliste precum Developing Java Software 3e, care tratează designul orientat pe obiecte în sens larg, lucrarea de față se concentrează strict pe mecanismele interne ale JUnit 5. Finalul cărții este dedicat testelor dinamice și strategiei de migrare, oferind o foaie de parcurs clară pentru echipele care trebuie să își actualizeze suitele de testare existente fără a compromite stabilitatea sistemului.

Citește tot Restrânge

Preț: 34679 lei

Preț vechi: 43348 lei
-20%

Puncte Express: 520

Carte disponibilă

Livrare economică 21 mai-04 iunie
Livrare express 07-13 mai pentru 14046 lei


Specificații

ISBN-13: 9781484230145
ISBN-10: 1484230140
Pagini: 168
Ilustrații: XIII, 151 p. 47 illus., 45 illus. in color.
Dimensiuni: 155 x 235 x 10 mm
Greutate: 0.27 kg
Ediția:1st edition
Editura: Apress
Locul publicării:Berkeley, CA, United States

De ce să citești această carte

Recomandăm această carte dezvoltatorilor Java care doresc să stăpânească ecosistemul JUnit 5 și să aplice riguros principiile TDD. Cititorul câștigă expertiză în scrierea testelor curate, utilizarea modelului de extensii și integrarea testării automate în procesul de build. Este o investiție eficientă pentru cei care vor să facă tranziția de la practicile JUnit 4 la cele mai noi standarde de testare din Java 8.


Despre autor

Shekhar Gulati și Rahul Sharma sunt experți în dezvoltarea software, cu o vastă experiență în limbajul Java și tehnologiile open-source. Activitatea lor se concentrează pe arhitectura sistemelor și pe bunele practici de programare, fiind promotori ai metodologiilor agile și ai automatizării proceselor de testare. Prin contribuțiile lor în cadrul editurii Apress, aceștia oferă comunității de programatori ghiduri practice bazate pe implementări reale în proiecte complexe.


Descriere scurtă

Explore the new way of building and maintaining test cases with Java test driven development (TDD) using JUnit 5. This book doesn't just talk about the new concepts, it shows you ways of applying them in TDD and Java 8 to continuously deliver code that excels in all metrics. 

Unit testing and test driven development have now become part of every developer's skill set. For Java developers, the most popular testing tool has been JUnit, and JUnit 5 is built using the latest features of Java.  With Java Unit Testing with JUnit 5, you'll master these new features, including method parameters, extensions, assertions and assumptions, and dynamic tests. You'll also see how to write clean tests with less code. 

This book is a departure from using older practices and presents new ways of performing tests, building assertions, and injecting dependencies. 

What You Will Learn
  • Write tests the JUnit 5 way 
  • Run your tests from within your IDE
  • Integrate tests with your build and static analysis tools
  • Migrate from JUnit 4 to JUnit 5

Who This Book Is For

Java developers both with and without any prior unit testing experience.


Cuprins

1: Building Software the Correct Way.- 2: Understanding Core JUnit 5.- 3: Developing an Application with JUnit 5 .- 4: Dependency Injection, Mocking, Testing Traits, and Grouping Tests.- 5: Testing Exceptions.- 6: Integrating Tools.- 7: JUnit 5 Extension Model.- 8: Dynamic Tests and Migration from JUnit 4.

Notă biografică

Shekhar Gulati is a seasoned Java programmer with more than 11 years of Java software development experience. He is also a public speaker and technology blogger. He is the author of the OpenShift Cookbook, published in October 2014.

Rahul Sharma is a seasoned Java developer with over 11 years of industry experience. He is an open-source enthusiast and has worked on various projects such as Apache Crunch and HDT. He is the author of NGINX High Performance, published in July 2015.

Caracteristici

First book on JUnit 5 With Java gaining popularity and developer base, JUnit 5 will be the best tool to write unit tests for Java code Practical code driven introduction to JUnit 5