junit测试eclipse
时间: 2023-08-27 20:21:00 浏览: 97
Java 类测试工具Junit 在Eclipse 中的使用
在Eclipse中进行JUnit测试可以按照以下步骤进行操作:
1. 右击要进行测试的项目,选择New -> JUnit Test Case。这将打开一个对话框,让你选择要测试的类和测试类的命名方式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [使用Eclipse和JUnit开发简单的单元测试](https://blog.csdn.net/qq_42552455/article/details/107007496)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [在Eclipse中使用JUnit进行单元测试](https://blog.csdn.net/qq_41701363/article/details/86748708)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文