Gå direkte til innholdet

Sommersalg på pocket fra 79,- »

Til startsiden
Logg inn
Søk etter din neste leseopplevelse
Practical Unit Testing with JUnit and Mockito

Practical Unit Testing with JUnit and Mockito

heftet, Engelsk, 2019
363,-
Sendes innen 5-16 virkedager

This book explains in detail how to implement unit tests using two very popular open source Java technologies: JUnit and Mockito. It presents a range of techniques necessary to write high quality unit tests - e.g. mocks, parametrized tests and matchers. It also discusses trade-offs related to the choices we have to make when dealing with some real-life code issues.

The book stresses the importance of writing readable and maintainable unit tests, and puts a lot of stress on code quality. It shows how to achieve testable code and to eliminate common mistakes by following the Test Driven Development approach. Every topic discussed in the book is illustrated with code examples, and each chapter is accompanied by some exercises.

By reading this book you will:

  • Grasp the role and purpose of unit tests
  • Write high-quality, readable and maintainable unit tests
  • Learn how to use JUnit and Mockito (but also other useful tools)
  • Avoid common pitfalls when writing unit tests
  • Recognize bad unit tests, and fix them in no time
  • Develop code following the Test Driven Development (TDD) approach
  • Use mocks, stubs and test-spies intelligently
  • Measure the quality of your tests using code coverage and mutation testing
  • Learn how to improve your tests' code so it is an asset and not a burden
  • Test collections, expected exceptions, time-dependent methods and much more
  • Customize test reports so that they show you what you really need to know
  • Master tools and techniques your team members have never even heard of (priceless ): )

Nowadays every developer is expected to write unit tests. While simple in theory, in practice writing high-quality unit tests can turn out to be a real challenge. This book will help.

Andre har også sett på

  • Gå til Norgeparadoxen : En granskning av det goda landets svarta baksidas produktside
    Lisa Röstlund
    innbundet
  • Gå til Ingens produktside
    Pascal Engman
    pocket
  • Gå til Ukeplanlegger videregående 2025-2026s produktside
    øvrig
  • Gå til How to Win Friends and Influence Peoples produktside
    Dale Carnegie
    heftet
  • Gå til The Body Keeps the Scores produktside
    Bessel van der Kolk
    pocket
  • Gå til Cozy Cutiess produktside
    Coco Wyo
    heftet
  • Gå til Bibelens produktside
    innbundet
  • Gå til Barnehageplanlegger 2025 - 2026s produktside
    øvrig
  • Gå til Intrig i Amalfis produktside
    Anders de la Motte, Anette de la Motte
    innbundet
  • Gå til The Bond That Burnss produktside
    Briar Boleyn
    pocket
  • Gå til The Let Them Theorys produktside
    Mel Robbins
    innbundet
  • Gå til Hjemmelaget kinesisks produktside
    Michelle Zhao
    innbundet

Du vil kanskje like

  • Gå til Man and His Symbolss produktside
    Carl G. Jung
    pocket
  • Gå til How to Win Friends and Influence Peoples produktside
    Dale Carnegie
    heftet
  • Gå til Leave Me Behinds produktside
    K M Moronova
    pocket
  • Gå til Food You Want to Eats produktside
    Thomas Straker
    innbundet
  • Gå til Meditationss produktside
    Marcus Aurelius
    pocket
  • Gå til The Money-Saving Garden Years produktside
    Anya Lautenbach
    innbundet
  • Gå til The 48 Laws of Powers produktside
    Robert Greene
    pocket
  • Gå til Cozy Corners produktside
    Coco Wyo
    heftet
  • Gå til Empire of Flame and Thornss produktside
    Marion Blackwood
    pocket
  • Gå til Cozy Cutiess produktside
    Coco Wyo
    heftet
  • Gå til The Psychology of Moneys produktside
    Morgan Housel
    pocket
  • Gå til Onyx Storms produktside
    Rebecca Yarros
    heftet

Anbefalt for deg

  • Gå til Python Crash Course, 3rd Editions produktside
    Eric Matthes
    heftet
  • Gå til Lille Klodes produktside
    Natasja Hjerrild Rosenquist
    innbundet
  • Gå til Secure By Designs produktside
    Dan Johnsson, Daniel Deogun, Daniel Sawano
    heftet
  • Gå til Networking All-in-One For Dummiess produktside
    Doug Lowe
    heftet
  • Gå til Når lyset bryter gjennoms produktside
    Susanne E. Askvik, Terje Toftenes
    innbundet
  • Gå til C# 13 and .NET 9 – Modern Cross-Platform Development Fundamentalss produktside
    Mark J. Price
    heftet
  • Gå til The Data Warehouse Toolkits produktside
    Ralph Kimball, Margy Ross
    heftet
  • Gå til The Hacker Playbook 3: Practical Guide to Penetration Testings produktside
    Peter Kim
    heftet
  • Gå til Effective Modern C++s produktside
    Scott Meyers
    heftet
  • Gå til Coding with Roblox Lua in 24 Hourss produktside
    Official Roblox Books(Pearson)
    heftet
  • Gå til Data Minings produktside
    Charu C. Aggarwal
    heftet
  • Gå til The Complete Guide to Adobe Premiere Pro 2025s produktside
    Najihah Najlaa
    heftet

Mer om Adlibris

Om Adlibris

Vi er Nordens største nettbokhandel, og tilbyr over 13 millioner boktitler og det meste av det beste innen spill, leker, hobby og garn. Vår misjon er å være en moderne bokhandel for alle bokelskere: et innbydende sted for lesing, læring og skaping. Det er hva som driver oss, hver dag. Adlibris er en del av Bonnier Group.

  • Alltid gode priser

  • Fri frakt over 299,-

  • Nordens største bokhandel

Meld deg på nyhetsbrev

Motta våre beste boktips, nyheter og gode tilbud. Registrer deg nå, og få 10% rabatt på det første kjøpet ditt. Tilbudet gjelder kun nye abonnenter og privatkunder. Rabatten gjelder ikke norske bøker utgitt 2024, fag- og studielitteratur, digitale bøker og gavekort.