1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00
appwrite/tests/extensions/TestHook.php

18 lines
311 B
PHP
Raw Normal View History

2021-03-22 03:26:05 +13:00
<?php
2022-05-24 02:54:50 +12:00
2021-03-22 03:26:05 +13:00
namespace Appwrite\Tests;
use PHPUnit\Runner\AfterTestHook;
class TestHook implements AfterTestHook
{
public function executeAfterTest(string $test, float $time): void
{
2022-05-24 02:54:50 +12:00
printf(
2022-08-03 16:17:49 +12:00
"%s ended in %s milliseconds\n",
2022-05-24 02:54:50 +12:00
$test,
2022-08-03 16:17:49 +12:00
$time * 1000
2021-03-22 03:26:05 +13:00
);
}
2022-05-24 02:54:50 +12:00
}