Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用@Parameterized 注释对不同的测试文件一遍又一遍地运行测试类。
问题是在我的 IDE/构建服务器中,测试显示为"MapSimulationTest" 0-x。
如何为我的MapSimulationTest类的每个实例提供一个为JUnit 4提供自定义名称的方法?在这种情况下,它将是运行测试的文件名。