当前位置:网站首页>Solve the idea that unit tests cannot use Scanner
Solve the idea that unit tests cannot use Scanner
2022-08-10 12:33:00 【Little Ludan】
1. Using idea, find help ->Edit Custom VM Options...
in the navigation2. Append in the pop-up dialog file
-Deditable.java.test.console=true
Remember to reboot after making changes!!! Then test again
Find the location of the idea installation file, find the file as shown, and continue to append the previous configuration content inside the file
Reference article: idea unit test cannot use Scanner_Feng Boyue's blog-CSDN blog_idea unit test
边栏推荐
- LeetCode 24. 两两交换链表中的节点
- IDC第一的背后,阿里云在打造怎样的一朵“视频云”?
- CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
- 海外媒体宣发.国内媒体发稿要注意哪些问题?
- LeetCode 138. Copy a linked list with random pointers
- 孩子自律性不够?猿辅导:计划表要注意“留白”给孩子更多掌控感
- LeetCode 25. K 个一组翻转链表
- LeetCode 24. Swap nodes in linked list pairwise
- 如何培养ui设计师的设计思维?
- 搜索--01
猜你喜欢
随机推荐
APP automation testing practice based on UiAutomator2+PageObject mode
jlink 与 swd 接口定义
网络基础(第一节)
LeetCode 25. K 个一组翻转链表
LeetCode 369. Plus One Linked List(链表加1)
dedecms支持Word内容一键导入
48MySQL数据库基础
What are some useful performance testing tools recommended? Performance testing report charging standards
LeetCode 82. 删除排序链表中的重复元素 II
【LeetCode】640. 求解方程
LeetCode 92. Reverse Linked List II
LeetCode 21. Merge two ordered linked lists
LeetCode 237. Delete a node in a linked list
7. Instant-ngp
Highways「建议收藏」
IDC第一的背后,阿里云在打造怎样的一朵“视频云”?
Golang分布式应用之etcd
LeetCode 24. Swap nodes in linked list pairwise
LeetCode 86. Delimited Linked List
Hackbar 使用教程