Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Software Testing with JUnit 5

You're reading from   Mastering Software Testing with JUnit 5 Comprehensive guide to develop high quality Java applications

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781787285736
Length 350 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Boni Garcia Boni Garcia
Author Profile Icon Boni Garcia
Boni Garcia
Arrow right icon
View More author details
Toc

Integration Of JUnit 5 With External Frameworks

If I have seen further than others, it is by standing upon the shoulders of giants.
- Isaac Newton

 

As described in Chapter 2, What's New in JUnit, the extension model of JUnit 5 allows us to extend the core functionality of JUnit 5 by a third party (tool vendor, developers, and so on). In the Jupiter extension model, an extension point is a callback interface that the extension implements and then registers (activates) in the JUnit 5 framework. As we will discover in this chapter, the JUnit 5 extension model can be used to provide seamless integration with existing third-party frameworks. Concretely, in this chapter, we review JUnit 5 extension for the following technologies:

  • Mockito: Mock (test double) unit testing framework.
  • Spring: A Java framework for building enterprise applications.
  • Selenium: A testing framework...
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 €18.99/month. Cancel anytime