setup需要@before注解,实现测试前的初始化工作 teardown需要@after注解,测试完成后垃圾回收等后续工作 转载于:https://www.cnblogs.com/yanze/p/10189160.html