- 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:
- Qt 5 and OpenCV 4 Computer Vision Projects
- Mastering Zabbix(Second Edition)
- 構建移動網站與APP:HTML 5移動開發入門與實戰(跨平臺移動開發叢書)
- Learning Linux Binary Analysis
- Hands-On Swift 5 Microservices Development
- 小學生C++創意編程(視頻教學版)
- Python編程:從入門到實踐
- Python數據結構與算法(視頻教學版)
- Serverless computing in Azure with .NET
- Tableau 10 Bootcamp
- JavaScript+jQuery網頁特效設計任務驅動教程
- DB2SQL性能調優秘笈
- 自己動手構建編程語言:如何設計編譯器、解釋器和DSL
- Jakarta EE Cookbook
- C語言進階:重點、難點與疑點解析