Files
hdk-skeleton/tests/Pest.php
李东云 24d9e6ccc8 build: update
Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2023-10-13 15:22:28 +08:00

33 lines
990 B
PHP

<?php
/*
|--------------------------------------------------------------------------
| Test Case
|--------------------------------------------------------------------------
|
| The closure you provide to your test functions is always bound to a specific PHPUnit test
| case class. By default, that class is "PHPUnit\Framework\TestCase". Of course, you may
| need to change it using the "uses()" function to bind a different classes or traits.
|
*/
use Test\HttpTestCase;
uses(HttpTestCase::class);
/*
|--------------------------------------------------------------------------
| Functions
|--------------------------------------------------------------------------
|
| While Pest is very powerful out-of-the-box, you may have some testing code specific to your
| project that you don't want to repeat in every file. Here you can also expose helpers as
| global functions to help you to reduce the number of lines of code in your test files.
|
*/
/*function something()
{
// ..
}*/