- Mastering Software Testing with JUnit 5
- Boni García
- 218字
- 2021-07-02 15:34:28
What’s New In JUnit 5
Those who can imagine anything, can create the impossible.
- Alan Turing
- Alan Turing
JUnit is the most important testing framework for the JVM and one of the most influential in software engineering in general. JUnit 5 is the next generation of JUnit, and its first General Availability (GA) version (5.0.0) was released on September 10, 2017. As we will discover, JUnit 5 supposes a small revolution with respect to JUnit 4, providing a completely new architecture, programming, and extension model. This chapter covers the following content:
- Road to JUnit 5: In the first section, we will discover the motivation to create a new major version of JUnit (that is, the limitations of JUnit 4), the design principles guiding the development of JUnit 5, and finally the details of the JUnit 5 open source community.
- JUnit 5 architecture: JUnit 5 is a modular framework composed of three major components, named Platform, Jupiter, and Vintage.
- Running tests in JUnit 5: We will discover how to run JUnit 5 tests using popular build tools, such as Maven or Gradle, and also with IDEs such as IntelliJ or Eclipse.
- The extension model of JUnit 5: The extension model allows for third-party libraries and frameworks to extend the JUnit 5 programming model with their own additions.
推薦閱讀
- Learning C++ Functional Programming
- 從程序員到架構(gòu)師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務(wù)、多團(tuán)隊(duì)協(xié)同等核心場(chǎng)景實(shí)戰(zhàn)
- Web Application Development with R Using Shiny(Second Edition)
- Mastering matplotlib
- Python神經(jīng)網(wǎng)絡(luò)項(xiàng)目實(shí)戰(zhàn)
- 深入淺出DPDK
- Python應(yīng)用輕松入門
- Visual FoxPro程序設(shè)計(jì)
- Python忍者秘籍
- Learning Unity 2D Game Development by Example
- Julia高性能科學(xué)計(jì)算(第2版)
- ServiceNow:Building Powerful Workflows
- C++編程兵書
- Clojure for Java Developers
- 區(qū)塊鏈國(guó)產(chǎn)化實(shí)踐指南:基于Fabric 2.0