1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 JUnit 5.0.0-RC3 发布,离 GA 更近一步 下载

Discussion in '软件资讯' started by 漂亮的石头, 2017-08-24.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    488,024
    Likes Received:
    47
    与之前的版本不同,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 AssertionErroras 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:


    点此查看完整发布说明

    BUG清单:


    下载地址:

    JUnit 5.0.0-RC3 发布,离 GA 更近一步下载地址
     
Loading...