Eclipse 中的 JUnit View 似乎对测试进行随机排序。如何按类名排序?
最佳答案
正如加里在评论中所说:
it would be nice if Unit Runner could be told to go ahead and order them by class name. Hmm, maybe I should look into the source code...
我确实看过,但没有提示对这些名称进行排序的功能。我建议对 JUnit 插件提出更改请求,但我不认为有很多人在使用这个东西,所以:DIY。
如果你修改插件代码,我想看看解决方案。
关于java - 在 Eclipse 的 JUnit View 中排序单元测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/512778/