在我的代码中,我需要在JUnit测试中运行时才进行某些修复.如何判断代码是否在JUnit测试中运行?有没有类似JUnit.isRunning()== true的东西?
java junit
java ×1
junit ×1