Testing with JUnit: Master high quality software development driven by unit tests

Kieli
Englanti
Formaatti
Kategoria

Tietokirjallisuus

Master high quality software development driven by unit tests Key FeaturesBook DescriptionJUnit has matured to become the most important tool when it comes to automated developer tests in Java. Supported by all IDEs and build systems, it empowers programmers to deliver software features reliably and efficiently. However, writing good unit tests is a skill that needs to be learned; otherwise it's all too easy to end up in gridlocked development due to messed up production and testing code. Acquiring the best practices for unit testing will help you to prevent such problems and lead your projects to success with respect to quality and costs.

This book explains JUnit concepts and best practices applied to the test first approach, a foundation for high quality Java components delivered in time and budget.

From the beginning you'll be guided continuously through a practically relevant example and pick up background knowledge and development techniques step by step. Starting with the basics of tests organization you'll soon comprehend the necessity of well structured tests and delve into the relationship of requirement decomposition and the many-faceted world of test double usage. In conjunction with third-party tools you'll be trained in writing your tests efficiently, adapt your test case environment to particular demands and increase the expressiveness of your verification statements. Finally, you'll experience continuous integration as the perfect complement to support short feedback cycles and quality related reports for your whole team.

The tutorial gives a profound entry point in the essentials of unit testing with JUnit and prepares you for test-related daily work challenges.What you will learn • Organize your test infrastructure and resources reasonably Understand and write well structured tests Decompose your requirements into small and independently testable units Increase your testing efficiency with on-the-fly generated stand-in components and deal with the particularities of exceptional flow Employ runners to adjust to specific test demands Use rules to increase testing safety and reduce boilerplate Use third party supplements to improve the expressiveness of your verification statements Who this book is for

© 2015 Packt Publishing (E-kirja): 9781782166610

Julkaisupäivä

E-kirja: 27. elokuuta 2015

Kuuntele missä ja milloin haluat

Astu tarinoiden maailmaan

  • Pohjoismaiden suosituin ääni- ja e-kirjapalvelu
  • Uppoudu suureen valikoimaan äänikirjoja ja e-kirjoja
  • Storytel Original -sisältöjä yksinoikeudella
  • Ei sitoutumisaikaa
Aloita ilmainen kokeilu
Cover for Testing with JUnit: Master high quality software development driven by unit tests

Saattaisit pitää myös näistä

Valitse tilausmalli

  • Nauti yli miljoonasta tarinasta, henkilökohtaisista suosituksista, viikottaisista uutuuksista sekä turvallisesta lastentilasta. Ei sitoutumisaikaa. 

Suosituin

Premium

Kuuntele ja lue usein

19.99 € /kk

  • 1 käyttäjätili

  • 100 tuntia/kk

  • Ei sitoutumisaikaa

Lunasta tarjous

Standard

Kuuntele ja lue säännöllisesti

16.99 € /kk

  • 1 käyttäjätili

  • 50 tuntia/kk

  • Ei sitoutumisaikaa

Lunasta tarjous

Unlimited

Kuuntele ja lue rajattomasti

29.99 € /kk

  • 1 käyttäjätili

  • Kuuntele ja lue rajattomasti

  • Ei sitoutumisaikaa

Aloita ilmainen kokeilu

Family

Jaa tarinat koko perheelle

Alkaen 26.99 € /kuukausi

  • 2-6 käyttäjätiliä

  • 100 tuntia/kk jokaiselle käyttäjälle

  • Ei sitoutumisaikaa

Sinä + 1 perheenjäsen

2 käyttäjätiliä

26.99 € /kk

Aloita ilmainen kokeilu

Flex

Kuuntele ja lue harvemmin - säästä käyttämättömät tunnit

9.99 € /kk

  • 1 käyttäjätili

  • 20 tuntia/kk

  • Säästä käyttämättömät tunnit, max 20h

  • Ei sitoutumisaikaa

Aloita ilmainen kokeilu