junit测试

一、若是@Test注解的方法是静态的会报这样的错误:测试

Method 'initializationError' not found,opening the test classspa

二、使用注解@Test的时候,测试类不要命名为Test,不然会出现错误。it

相关文章
相关标签/搜索