Skip to Main Content
JUnit in Action, Third Edition
book

JUnit in Action, Third Edition

by Catalin Tudose
January 2021
Intermediate to advanced content levelIntermediate to advanced
560 pages
15h 13m
English
Manning Publications
Content preview from JUnit in Action, Third Edition

4 Migrating from JUnit 4 to JUnit 5

This chapter covers

  • Implementing the migration from JUnit 4 to JUnit 5
  • Working with a hybrid approach for mature projects
  • Comparing the needed JUnit 4 with JUnit 5 dependencies
  • Comparing the equivalent JUnit 4 with JUnit 5 annotations
  • Comparing JUnit 4 rules with JUnit 5 extensions

Nothing in this world can survive and remain useful without an update.

--Charles M. Tadros

So far, this book has introduced JUnit and its latest version, 5. We’ve discussed the core classes and methods and presented them in action so that you have a good understanding of how to build your tests efficiently. We’ve emphasized the importance of software architecture in general and shown the significant architectural changes between ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driven Java Development, Second Edition - Second Edition

Test-Driven Java Development, Second Edition - Second Edition

Viktor Farcic, Alex Garcia

Publisher Resources

ISBN: 9781617297045Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link