Các mã sau đây là vô hiệu do trùng lặp @RunWith
chú thích:Làm thế nào để chạy JUnit SpringJUnit4ClassRunner với Parametrized?
@RunWith(SpringJUnit4ClassRunner.class)
@RunWith(Parameterized.class)
@SpringApplicationConfiguration(classes = {ApplicationConfigTest.class})
public class ServiceTest {
}
Nhưng làm thế nào tôi có thể sử dụng hai chú thích những kết hợp?
Dưới đây là một - và đến nay - giải pháp http://blog.codeleak.pl/2015/08/parameterized-integration-tests- with.html –