@after
最后更新于:2022-04-01 03:48:34
# @after
`@after` 标注用于指明此方法应当在测试用例类中的每个测试方法运行完成之后调用。
~~~
class MyTest extends PHPUnit_Framework_TestCase
{
/**
* @after
*/
public function tearDownSomeFixtures()
{
// ...
}
/**
* @after
*/
public function tearDownSomeOtherFixtures()
{
// ...
}
}
~~~
';