Eclipse Junit“-ea”虚拟机选项

问题描述 投票:0回答:1

在 Eclipse 首选项中

Windows > Preferences > Java > Junit

alt text

“Add '-ea' to VM args ....”复选框选项实际上对新的 junit 启动配置有什么影响?

java eclipse junit ide
1个回答
95
投票

它使 JVM 能够兑现断言

© www.soinside.com 2019 - 2024. All rights reserved.