- Mastering Software Testing with JUnit 5
- Boni García
- 176字
- 2021-07-02 15:34:27
JUnit 4
JUnit 4 is still an open source framework, though the license changed with respect to JUnit 3, from CPL to Eclipse Public License (EPL) Version 1.0. The source code of JUnit 4 is hosted on GitHub (https://github.com/junit-team/junit4/).
On February 18, 2006, JUnit 4.0 was released. It follows the same high-level guidelines than JUnit 3, that is, easily define test, the framework run tests independently, and the framework detects and report errors by the test.
One of the main differences of JUnit 4 with respect to JUnit 3 is the way that JUnit 4 allows to define tests. In JUnit 4, Java annotations are used to mark methods as tests. For this reason, JUnit 4 can only be used for Java 5 or later. As the documentation of JUnit 4.0 stated back in 2006:
- CockroachDB權威指南
- 騰訊iOS測試實踐
- 深入淺出WPF
- Android Application Development Cookbook(Second Edition)
- Python機器學習經典實例
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Rust Essentials(Second Edition)
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- PHP+Ajax+jQuery網站開發項目式教程
- Mastering Backbone.js
- Visual Studio Code 權威指南
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- Clojure High Performance Programming(Second Edition)
- Mastering OAuth 2.0
- SQL Server on Linux