Testing with JUnit: Master high quality software development driven by unit tests
- Authors
- Publisher
- Language
- English
- Format
- Category
Non-Fiction
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 (Ebook): 9781782166610
Release date
Ebook: 27 August 2015
Others also enjoyed ...
- Harry Potter and the Philosopher's Stone J.K. Rowling
- The Housemaid: An absolutely addictive psychological thriller with a jaw-dropping twist Freida McFadden
- Throne of Glass: From the # 1 Sunday Times best-selling author of A Court of Thorns and Roses Sarah J. Maas
- The Divorce Freida McFadden
- The 48 Laws of Power Robert Greene
- The Hunger Games Suzanne Collins
- Mathorubagan Perumal Murugan
- The Seven Husbands of Evelyn Hugo: A Novel Taylor Jenkins Reid
- Convenience Store Woman: A Novel Sayaka Murata
- One Hot Summer Debbie Ioanna
- This Is What Inequality Looks Like Teo You Yenn
- Mushoku Tensei: Jobless Reincarnation (Light Novel) Vol. 1 Rifujin na Magonote, Shirotaka
- A Court of Thorns and Roses (1 of 2) [Dramatized Adaptation]: A Court of Thorns and Roses 1 Sarah J. Maas
- Yesteryear Caro Claire Burke
- The Psychology of Money: The transformative multimillion-copy personal finance bestseller Morgan Housel
Features:
Over 950 000 titles
Kids Mode (child safe environment)
Download books for offline access
Cancel anytime
Unlimited
For those who want to listen and read without limits.
S$12.98 /month
1 account
Unlimited Access
Unlimited listening
Cancel anytime
