当前位置:网站首页>解决 idea 单元测试不能使用Scanner
解决 idea 单元测试不能使用Scanner
2022-08-10 11:43:00 【小鲁蛋儿】
1、使用idea,在导航找到 help ->Edit Custom VM Options...
2、弹出的对话框文件中追加
-Deditable.java.test.console=true
改完之后记得重启!!! 然后再进行测试
找到 idea 安装文件的位置,找到如同所示的文件,在文件内部继续追加之前的配置内容
边栏推荐
- 16. Getting Started with Pytorch Lightning
- What are some useful performance testing tools recommended? Performance testing report charging standards
- LeetCode 19. 删除链表的倒数第 N 个结点
- search--09
- dedecms支持Word内容一键导入
- 时间序列的数据分析(五):简单预测法
- LeetCode 237. Delete a node in a linked list
- LT8911EXB MIPI CSI/DSI转EDP信号转换
- 三星计划2023年开始在越南生产半导体零部件
- 【mysql】explain介绍[通俗易懂]
猜你喜欢
You have a Doubaqiong thesaurus, please check it
一文详解 implementation api embed
太香了!自从用了这款接口神器,我的团队效率提升了 60%!
技术人必看!数据治理是什么?它对数据中台建设重要吗?
three.js blur glass effect
个推数据资产管理经验 | 教你打造数据质量心电图,智能检测数据“心跳”异常
Analysis of the implementation principle of UUID from the perspective of source code
gpu-admission 源码分析
The 6th "Blue Hat Cup" National College Student Network Security Skills Competition Semi-Final Part WriteUp
你有一份斗破苍穹词库,请查收
随机推荐
Threshold-based filtering buffer management scheme in a shared buffer packet switch core part of the paper
一文读懂NFT数字藏品为何风靡全球?
LeetCode 92. 反转链表 II
太香了!自从用了这款接口神器,我的团队效率提升了 60%!
制品库是什么?
托米的咒语
LeetCode 61. Rotating linked list
技术人必看!数据治理是什么?它对数据中台建设重要吗?
面试官:你们是如何保证接口的幂等性?
LeetCode 146. LRU Cache
three.js blur glass effect
正则表达式常用示例
LeetCode 138. 复制带随机指针的链表
How many constants and data types do you remember?
Does face attendance choose face comparison 1:1 or face search 1:N?
The author of open source also has a life problem
时间序列的数据分析(五):简单预测法
LeetCode 21. Merge two ordered linked lists
常量及数据类型你还记得多少?
搜索--09