@RunWith(SpringRunner.class)
@RunWith(SpringJUnit4ClassRunner.class)
这两个有什么区别?
SpringRunner is an alias for the SpringJUnit4ClassRunner.
To use this class, simply annotate a JUnit 4 based test class with @RunWith(SpringRunner.class).
----------------------
SpringRunner 继承了SpringJUnit4ClassRunner,没有扩展任何功能;使用前者,名字简短而已。