LIBRISTO
LIBROAMANTO
obligatorisch
Werden Sie Teil einer Gemeinschaft von Buchliebhabern aus der ganzen Welt und erhalten Sie eine Reihe von Vorteilen. Konto kostenlos anlegen
0
DPD-Kurier 4.49 Hermes Kurierdienst 4.99 DHL-Kurier 3.99 Hermes-Stelle 4.49 DPD-Stelle 2.99 GLS-Kurierdienst 4.99

Mockito Made Clear

Sprache EnglischEnglisch
E-Book Adobe ePub DRM
Verlag Pragmatic Bookshelf, Januar 2023
Mockito is the most popular framework in the Java world for automating unit testing with dependencie... Vollständige Beschreibung
? points 27 b
10.89 inkl. MwSt.
Verfügbar Sofort herunterladbar


Kunden kauften auch


Storia dell'impero bizantino Georg Ostrogorsky / Buch Broschur
common.buy 15.99
El Extrano Caso Del Dr. Jekyll y Mr. Hyde Robert Louis Stevenson / Buch Broschur
common.buy 7.69
Ugly Love. Ediz. italiana Colleen Hoover / Buch Hardcover
common.buy 13.89
DanDaDan - Le jeu de cartes Yukinobu Tatsu / Spiel/Spielzeug Spiel
common.buy 8.19

Mockito is the most popular framework in the Java world for automating unit testing with dependencies. Learn the Mockito API and how and when to use stubs, mocks, and spies. On a deeper level, discover why the framework does what it does and how it can simplify unit testing in Java. Using Mockito, you'll be able to isolate the code you want to test from the behavior or state of external dependencies without coding details of the dependency. You'll gain insights into the Mockito API, save time when unit testing, and have confidence in your Java programs.If you've only ever run a few JUnit tests or injected stubs into classes to return preset values, it's time to level up your Java toolbox. Dependencies on other classes and external resources can obscure issues and make bugs hard to detect. You need to test classes in isolation to truly pinpoint your problems. And while you could write dummy classes to replace dependencies yourself, Mockito automates the process and helps you fix your code faster.Start with the Mockito API to generate fake classes for dependencies, configure how each should respond when their methods are called, and verify that the class under test interacts with dependencies the way you'd expect. Next, build unit tests with the Mockito framework and feel confident not just that methods are called, but that they are called the correct number of times and in the correct order. Along the way, follow clear test examples based on JUnit 5 to create stubs, mocks, and spies and find the source of any problems lurking in Java classes.Save time, write better code, and have more confidence in your Java programs with Mockito.What You Need:In this book, we use Mockito 4, the latest version of the Mockito framework, but the concepts and the code works on versions 2 and 3. The tests are based on JUnit 5 (known as Jupiter). There are some differences in JUnit 4, but none of those affect Mockito directly. The underlying Java version is 11, but the provided tests in the GitHub repository will work successfully for any version of Java above that (including the current Long Term Support version, 17).

Schauspielerin & Polyglotte
EWA KASP für
Video abspielen
Ewa Kasp
Libristo bietet die größte Auswahl an fremdsprachiger Literatur an. Deshalb kaufe ich meine Bücher hier ein.

Informationen zum Buch

Vollständiger Name Mockito Made Clear
Autor Ken Kousen
Sprache Englisch
Einband E-Book - Adobe ePub DRM
Datum der Veröffentlichung 2023
Anzahl der Seiten 88
EAN 9798888650134
Libristo-Code 45101007
Verschenken Sie dieses Buch noch heute
Es ist ganz einfach
1 Legen Sie das Buch in Ihren Warenkorb und wählen Sie den Versand als Geschenk 2 Wir schicken Ihnen umgehend einen Gutschein 3 Das Buch wird an die Adresse des beschenkten Empfängers geliefert

Das könnte Sie auch interessieren


Top
Ugly Love Colleen Hoover / Buch Broschur
common.buy 7.79
Top
Roald Dahl's Marvellous Joke Book Roald Dahl / Buch Broschur
common.buy 7.39
Diaspora and Citizenship Claire Sutherland / Buch Broschur
common.buy 63.49
STUDIES IN CHAUCER V2: HIS LIFE AND WRIT THOMAS R. LOUNSBURY / Buch Hardcover
common.buy 58.29
Auralict Maggie L Wood / Buch Broschur
common.buy 13.99
Star Trek: Discovery Scott Gamzon / Video Blu-ray
common.buy 40.09
Top
Piano Note Reading Workbook Damian Hermann / Buch Broschur
common.buy 13.99

Anmeldung

Melden Sie sich bei Ihrem Konto an. Sie haben noch kein Libristo-Konto? Erstellen Sie es jetzt!

 
obligatorisch
obligatorisch

Sie haben kein Konto? Nutzen Sie die Vorteile eines Libristo-Kontos!

Mit einem Libristo-Konto haben Sie alles unter Kontrolle.

Erstellen Sie ein Libristo-Konto
Buchberater Libroamiko
Hallo, ich bin Libroamiko, kann ich helfen?