如何在Sublime Text 3中运行Junit?
我已经完成了此处提到的所有事情: https://www.javatpoint.com/ junit-tutorial
我使用崇高的文本3,并将错误消息包含在图像中。junit4-4.8.2.jar
和hamcrest-core-1.3.jar
在c:\ junit
中存在 javatpoint代码文件在c:\ junit_workspace \ junittesting
中。
我是做错了什么还是在崇高的文本3中根本不可能?
I have done everything as mentioned here: https://www.javatpoint.com/junit-tutorial
I use sublime text 3 and have included the error message as a image.junit4-4.8.2.jar
and hamcrest-core-1.3.jar
are present in C:\Junit
.
the javatpoint code file is in C:\Junit_workspace\junittesting
.
Am I doing something wrong or is it simply not possible in Sublime Text 3?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用Maven或Gradle来管理您的项目。他们将允许您指定所拥有的库依赖关系并管理类路径。
还请注意,最新版本的Junit是5.x。
不能说我真的使用过崇高,但是还有一个原因您不使用Intellij之类的IDE吗?
Use Maven or Gradle to manage your project. They'll allow you to specify the library dependencies you have and manage the classpath.
Note also that the latest version of JUnit is 5.x.
Can't say I've ever used Sublime really, but is there also a reason you're not using an IDE like IntelliJ?