2021-03-22 03:26:05 +13:00
|
|
|
<?php
|
|
|
|
namespace Appwrite\Tests;
|
|
|
|
|
|
|
|
use PHPUnit\Runner\AfterTestHook;
|
|
|
|
|
|
|
|
class TestHook implements AfterTestHook
|
|
|
|
{
|
|
|
|
public function executeAfterTest(string $test, float $time): void
|
|
|
|
{
|
2021-03-22 17:49:03 +13:00
|
|
|
printf("%s ended in %s seconds\n",
|
2021-03-22 03:26:05 +13:00
|
|
|
$test,
|
|
|
|
$time
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|