[英]Running a unit test after changing it does not run the updated test in IntelliJ
This is super weird and only happens for one of my modules in my project.这太奇怪了,只发生在我项目中的一个模块中。
If I change the name of a test, then right click and run the test, it will say No tests found matching Method: newName.如果我更改了一个测试的名称,然后右键单击并运行该测试,它会说没有找到匹配的测试方法:newName。 It is effectively trying to run the old test, instead of the new one, despite the fact I'm not re-running the same Run Configuration - I'm right clicking and running the freshly edited test.
它有效地尝试运行旧测试,而不是新测试,尽管事实上我没有重新运行相同的运行配置 - 我右键单击并运行新编辑的测试。
What could be causing this?什么可能导致这种情况?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.