内容简介:与之前的版本不同,JUnit 5 由三个不同的模块组成: JUnit 平台,其主要作用是在 JVM 上启动测试框架。它定义了一个抽象的 TestEngine API 来定义运行在平台上的测试框架,同时还支持通过命令行、Gradle 和...
与之前的版本不同,JUnit 5 由三个不同的模块组成:
JUnit 平台,其主要作用是在 JVM 上启动测试框架。它定义了一个抽象的 TestEngine API 来定义运行在平台上的测试框架,同时还支持通过命令行、Gradle 和 Maven 来运行平台。
JUnit Jupiter,包含了 JUnit 5 最新的编程模型和扩展机制。
JUnit Vintage,允许在平台上运行 JUnit 3 和 JUnit 4 的测试用例。
JUnit 5 对 Java 运行环境的最低要求是 Java 8, 同时也兼容测试旧版本JDK编译出来的代码。
更新如下:
Bug Fixes
Source JARs no longer contain every source file twice.
The Maven Surefire provider now reports a failed test with a cause that is not an instance of
AssertionError
as an error instead of a failure for compatibility reasons.
New Features and Improvements
Configuration parameters can now be supplied in a number of new ways:
via a file named
junit-platform.properties
in the root of the class path. See Configuration Parameters for details.via the
--config
command-line option when using the Console Launcher.via the
configurationParameter
orconfigurationParameters
DSL when using the Gradle plugin.via the
configurationParameters
property when using the Maven Surefire provider.
BUG清单:
下载地址:
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- NPM包(模块)发布、更新、撤销发布
- 有赞灰度发布与蓝绿发布实践
- 【重磅发布】Linkis 0.10.0 版本发布
- BeetlSQL 3.0.9 发布,Idea 插件发布
- 贝密游戏 0.7.0 发布,发布斗地主
- 【重磅发布】DataSphere Studio 0.9.0 版本发布
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
JavaScript面向对象编程指南
斯托扬 / 凌杰 / 人民邮电出版社 / 2013-3 / 59.00元
《JavaScript面向对象编程指南》内容包括:JavaScript作为一门浏览器语言的核心思想;面向对象编程的基础知识及其在JavaScript中的运用;数据类型、操作符以及流程控制语句;函数、闭包、对象和原型等概念,以代码重用为目的的继承模式;BOM、DOM、浏览器事件、AJAX和JSON;如何实现JavaScript中缺失的面向对象特性,如对象的私有成员与私有方法;如何应用适当的编程模式,......一起来看看 《JavaScript面向对象编程指南》 这本书的介绍吧!