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 profound knowledge of the mechanics and capabilities of JUnit rules. You saw what it takes to write your own extension and learned how to evolve self-made rules by means of annotations. After that, you were imparted the usage of class rules on test suites and discussed the pros and cons of this approach. Besides, you were shown how rules can be nested in case your tests depend on a well-defined execution order. To round out the topic, we introduce third-party vendor solutions for common testing-related tasks.

The next chapter is devoted to the various available verification concepts. It will put the built-in assert functionality on a test and explain the assets and drawbacks of the most popular alternatives.

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