Cargando…

Mockito made clear : Java unit testing with mocks, stubs and spies /

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, y...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Kousen, Ken (Autor)
Otros Autores: Subramaniam, Venkat (writer of foreword.), Eldridge, Margaret (Editor )
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Place of publication not identified] : Pragmatic Bookshelf, 2023.
Edición:[First edition].
Colección:Pragmatic programmers.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a22000007i 4500
001 OR_on1369068414
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu|||unuuu
008 230207s2023 xx a o 000 0 eng d
040 |a ORMDA  |b eng  |e rda  |e pn  |c ORMDA  |d OCLCF  |d OCLCO 
020 |a 9798888650127  |q (electronic bk.) 
035 |a (OCoLC)1369068414 
037 |a 9798888650127  |b O'Reilly Media 
050 4 |a QA76.76.T48 
082 0 4 |a 005.1/4  |2 23/eng/20230207 
049 |a UAMI 
100 1 |a Kousen, Ken,  |e author. 
245 1 0 |a Mockito made clear :  |b Java unit testing with mocks, stubs and spies /  |c by Ken Kousen ; foreword by Venkat Subramaniam ; edited by Margaret Eldridge. 
250 |a [First edition]. 
264 1 |a [Place of publication not identified] :  |b Pragmatic Bookshelf,  |c 2023. 
300 |a 1 online resource (88 pages) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a The Pragmatic programmers 
520 |a 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. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Computer software  |x Testing. 
650 0 |a Computer software  |x Quality control. 
650 0 |a Java (Computer program language) 
650 6 |a Logiciels  |x Qualité  |x Contrôle. 
650 6 |a Java (Langage de programmation) 
650 7 |a Computer software  |x Quality control  |2 fast 
650 7 |a Computer software  |x Testing  |2 fast 
650 7 |a Java (Computer program language)  |2 fast 
700 1 |a Subramaniam, Venkat,  |e writer of foreword. 
700 1 |a Eldridge, Margaret,  |e editor. 
830 0 |a Pragmatic programmers. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9798888650127/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP