LIBRISTO
LIBROAMANTO
obrigatório
Faça parte de uma comunidade de amantes de livros de todo o mundo e tenha acesso a uma série de benefícios. Crie uma conta gratuitamente
0
Correio DHL 7.99 Correio DPD 4.49 Ponto DPD 3.99 Correio GLS 5.49 Correio MRW 5.49 Ponto GLS 4.49

Mockito Made Clear

Língua InglêsInglês
E-book Adobe ePub DRM
Editoras Pragmatic Bookshelf, janeiro 2023
Mockito is the most popular framework in the Java world for automating unit testing with dependencie... Descrição completa
? points 28 b
11.59
Em stock Imediatamente descarregável


Os clientes também compraram


Storia dell'impero bizantino Georg Ostrogorsky / Livro Capa mole
common.buy 17.34
El Extrano Caso Del Dr. Jekyll y Mr. Hyde Robert Louis Stevenson / Livro Capa mole
common.buy 7.76
Ugly Love. Ediz. italiana Colleen Hoover / Livro Livro de capa dura
common.buy 24.60
DanDaDan - Le jeu de cartes Yukinobu Tatsu / Jogo/brinquedo Jogo
common.buy 8.97

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).

Atriz & Poliglota
EWA KASP para
Reproduzir vídeo
Ewa Kasp
A Libristo tem a maior seleção de literatura estrangeira. É por isso que compro os meus livros aqui.

Sobre o livro

Nome completo Mockito Made Clear
Autor Ken Kousen
Língua Inglês
Encadernação E-book - Adobe ePub DRM
Data de emissão 2023
Número de páginas 88
EAN 9798888650134
Código Libristo 45101007
Ofereça este livro hoje
É fácil
1 Adicione ao carrinho e escolha Entregar como presente ao finalizar a compra 2 Receberá um vale 3 O livro chegará ao endereço do destinatário

Também pode estar interessado em


Principal
Ugly Love Colleen Hoover / Livro Capa mole
common.buy 8.46
Roald Dahl's Marvellous Joke Book Roald Dahl / Livro Capa mole
common.buy 7.35
Diaspora and Citizenship Claire Sutherland / Livro Capa mole
common.buy 65.05
Star Trek: Discovery Scott Gamzon / Vídeo Blu-ray
common.buy 42.56
Piano Note Reading Workbook Damian Hermann / Livro Capa mole
common.buy 14.92

Iniciar sessão

Inicie sessão na sua conta. Não tem uma conta Libristo? Crie uma agora!

 
obrigatório
obrigatório

Não tem uma conta? Descubra os benefícios de ter uma conta Libristo!

Com uma conta Libristo, terá tudo sob controlo.

Crie uma conta Libristo
Conselheiro de livros Libroamiko
Olá, sou o Libroamiko, posso ajudar?