junit命令在VSCode中不工作(windows)[关闭]

nszi6y05  于 12个月前  发布在  Vscode
关注(0)|答案(1)|浏览(140)

**已关闭。**此问题需要debugging details。它目前不接受回答。

编辑问题以包括desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem。这将帮助其他人回答这个问题。
昨天关门了。
Improve this question
我尝试使用junit运行一些测试,但是当我尝试通过终端运行它时,它显示如下error in the terminal
怎么修?
我在这里尝试用测试编译类
thanks in advance

oymdgrw7

oymdgrw71#

junit命令似乎不正确。您应该使用java -jar junit-platform-console-standalone-.jar。这篇文章可以解决你的问题:
How to run JUnit test cases from the command line

相关问题