官术网_书友最值得收藏!

What’s New In JUnit 5

Those who can imagine anything, can create the impossible.
- 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.
主站蜘蛛池模板: 安福县| 石首市| 雷州市| 富顺县| 高尔夫| 石阡县| 保康县| 洞头县| 云龙县| 瑞丽市| 鄂尔多斯市| 文山县| 巴楚县| 兰州市| 佛冈县| 卫辉市| 滦平县| 尚志市| 洛宁县| 玛多县| 陈巴尔虎旗| 许昌县| 六安市| 老河口市| 桐柏县| 桃江县| 南平市| 清苑县| 海城市| 镇赉县| 新建县| 山东省| 陆丰市| 宁蒗| 礼泉县| 万载县| 浦东新区| 道真| 阿拉善右旗| 建宁县| 二连浩特市|