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

22 Implementing a test pyramid strategy with JUnit 5

This chapter covers

  • Building unit tests for components in isolation
  • Building integration tests for units as a group
  • Building system tests for complete software
  • Building acceptance tests and making sure software is compliant with business requirements

The test pyramid is a way of thinking about how different kinds of automated tests should be used to create a balanced portfolio. Its essential point is that you should have many more low-level UnitTests than high-level BroadStackTests running through a GUI.

--Martin Fowler

As we have discovered in the previous chapters, software testing has several purposes. Tests make us interact with the application and understand how it works. Testing helps ...

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