mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #1006 from lohanidamodar/feat-tests-time
feat-tests-time
This commit is contained in:
+4
-1
@@ -15,7 +15,10 @@
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {"Tests\\E2E\\": "tests/e2e"}
|
||||
"psr-4": {
|
||||
"Tests\\E2E\\": "tests/e2e",
|
||||
"Appwrite\\Tests\\": "tests/extensions"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.4.0",
|
||||
|
||||
Generated
+1
-1
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "15b6e4ddce09e6fb642988603d734aa8",
|
||||
"content-hash": "40de7f78c6b3d14b63c4ec178dcfe1a2",
|
||||
"packages": [
|
||||
{
|
||||
"name": "adhocore/jwt",
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
>
|
||||
<extensions>
|
||||
<extension class="Appwrite\Tests\TestHook" />
|
||||
</extensions>
|
||||
<testsuites>
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./tests/e2e/</directory>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace Appwrite\Tests;
|
||||
|
||||
use PHPUnit\Runner\AfterTestHook;
|
||||
|
||||
class TestHook implements AfterTestHook
|
||||
{
|
||||
public function executeAfterTest(string $test, float $time): void
|
||||
{
|
||||
printf("%s ended in %s seconds\n",
|
||||
$test,
|
||||
$time
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user