appwrite/tests/extensions/TestHook.php

18 lines
299 B
PHP
Raw Normal View History

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