Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Testing with JUnit

You're reading from   Testing with JUnit Master high quality software development driven by unit tests

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781782166603
Length 200 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Leonard Przybylski Leonard Przybylski
Author Profile Icon Leonard Przybylski
Leonard Przybylski
 Appel Appel
Author Profile Icon Appel
Appel
Arrow right icon
View More author details
Toc

Summary


In this chapter, you acquired a thorough understanding of JUnit's runner architecture. You learned how to write your own extension and saw how it interacts with the tool's runtime. Based on this knowledge, we encountered several options to structure and categorize the entirety of our tests and discussed the downside of over-extensive runner use. We concluded the topic by explaining the assets and drawbacks of the different approaches to writing parameterized tests—one of the most important use cases for runners.

In the next chapter, you'll learn about a particular type of test helper that eases fixture setup and secures our tests with an automated teardown. We'll see how JUnit Rules embed tests at runtime and learn how to develop and use our own rules.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images