When I upgrade Spring Boot to 1.4 series, the test with @Parameters
of JUnitParams fails with
Initialized Error with the message
should have no parameters`.
Change Runner to @RunWith (JUnitParamsRunner.class)
--It seems that the implementation of the constructor of SpringJUnit4ClassRunner
has changed from the Spring Framework 4.3 series that depends on SpringBoot 1.4.
--Until 4.2, @Parameters
worked on SpringJUnit4ClassRunner
, but it stopped working from 4.3.
reference
Recommended Posts