今天做junit测试出现unrooted test initializationError异常,找了好久,最终发现
在测试方法上没有写注解@Test,结果一运行就报下列的错误。
Unrooted Tests
initializationError(org.junit.runner.manipulation.Filter)