当前位置:网站首页>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
边栏推荐
- The god-level Alibaba "high concurrency" tutorial - basic + actual combat + source code + interview + architecture is all-inclusive
- Drive IT Modernization with Low Code
- So delicious!Since using this interface artifact, my team efficiency has increased by 60%!
- 一文读懂NFT数字藏品为何风靡全球?
- Configure druid data source "recommended collection"
- Color map and depth map to point cloud
- 自定义过滤器和拦截器实现ThreadLocal线程封闭
- LeetCode 24. 两两交换链表中的节点
- 日记16
- LeetCode 237. Delete a node in a linked list
猜你喜欢
一文详解 implementation api embed
The 6th "Blue Hat Cup" National College Student Network Security Skills Competition Semi-Final Part WriteUp
Network Fundamentals (Section 1)
dedecms supports one-click import of Word content
2016,还是到了最后
第5章 虚拟存储器
孩子自律性不够?猿辅导:计划表要注意“留白”给孩子更多掌控感
Chapter9 : De Novo Molecular Design with Chemical Language Models
Analysis of the implementation principle of UUID from the perspective of source code
技术人必看!数据治理是什么?它对数据中台建设重要吗?
随机推荐
日记16
What are some useful performance testing tools recommended? Performance testing report charging standards
如何培养ui设计师的设计思维?
阿里架构师整理一份企业级SSM架构实战文档,让你熟悉底层原理
Highways「建议收藏」
Does face attendance choose face comparison 1:1 or face search 1:N?
LeetCode 138. Copy a linked list with random pointers
网络基础(第一节)
7、Instant-ngp
ssm框架搭建过程[通俗易懂]
正则表达式常用示例
Behind IDC's No. 1 position, what kind of "video cloud" is Alibaba Cloud building?
Network sockets (UDP and TCP programming)
LeetCode 92. Reverse Linked List II
配置druid数据源「建议收藏」
搜索--09
IDC第一的背后,阿里云在打造怎样的一朵“视频云”?
LeetCode 146. LRU Cache
dedecms支持Word内容一键导入
Excel函数公式大全—HLOOKUP函数