mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Merge branch 'windows-gitbash' of github.com:dimitrioskarvounaris/pest into windows-gitbash
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.3",
|
||||
"nunomaduro/collision": "^5.0",
|
||||
"nunomaduro/collision": "^5.0.0-BETA2",
|
||||
"pestphp/pest-plugin": "dev-master",
|
||||
"pestphp/pest-plugin-coverage": "dev-master",
|
||||
"phpunit/phpunit": "^9.1.4",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
PASS Tests\CustomTestCase\PhpunitTest
|
||||
PASS Tests\CustomTestCase\ExecutedTest
|
||||
✓ that gets executed
|
||||
|
||||
PASS Tests\Features\AfterAll
|
||||
@ -24,7 +24,7 @@
|
||||
✓ it sets arrays
|
||||
✓ it gets bound to test case object with ('a')
|
||||
✓ it gets bound to test case object with ('b')
|
||||
✓ it truncates the description with (' fooo fooo fooo fooo fooo fooo fooo f...oo fooo')
|
||||
✓ it truncates the description with ('FoooFoooFoooFoooFoooFoooFoooF...ooFooo')
|
||||
✓ lazy datasets with (1)
|
||||
✓ lazy datasets with (2)
|
||||
✓ lazy datasets did the job right
|
||||
@ -40,10 +40,10 @@
|
||||
✓ eager wrapped registered datasets with (1)
|
||||
✓ eager wrapped registered datasets with (2)
|
||||
✓ eager registered wrapped datasets did the job right
|
||||
✓ lazy named datasets with ( bar object (...))
|
||||
✓ lazy named datasets with (Bar Object (...))
|
||||
|
||||
PASS Tests\Features\Exceptions
|
||||
✓ it gives access the the underlying expect exception
|
||||
✓ it gives access the the underlying expectException
|
||||
✓ it catch exceptions
|
||||
✓ it catch exceptions and messages
|
||||
|
||||
@ -64,8 +64,8 @@
|
||||
✓ it has bar
|
||||
|
||||
PASS Tests\Features\PendingHigherOrderTests
|
||||
✓ get 'foo' → get 'bar' → assert true true
|
||||
✓ get 'foo' → assert true true
|
||||
✓ get 'foo' → get 'bar' → assertTrue true
|
||||
✓ get 'foo' → assertTrue true
|
||||
|
||||
WARN Tests\Features\Skip
|
||||
✓ it do not skips
|
||||
@ -87,10 +87,10 @@
|
||||
✓ it example 2
|
||||
|
||||
PASS Tests\PHPUnit\CustomTestCase\UsesPerDirectory
|
||||
✓ closure was bound to custom test case
|
||||
✓ closure was bound to CustomTestCase
|
||||
|
||||
PASS Tests\PHPUnit\CustomTestCaseInSubFolders\SubFolder\SubFolder\UsesPerSubDirectory
|
||||
✓ closure was bound to custom test case
|
||||
✓ closure was bound to CustomTestCase
|
||||
|
||||
PASS Tests\PHPUnit\CustomTestCaseInSubFolders\SubFolder2\UsesPerFile
|
||||
✓ custom traits can be used
|
||||
|
||||
@ -7,7 +7,7 @@ namespace Tests\CustomTestCase;
|
||||
use function PHPUnit\Framework\assertTrue;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class PhpunitTest extends TestCase
|
||||
class ExecutedTest extends TestCase
|
||||
{
|
||||
public static $executed = false;
|
||||
|
||||
@ -16,8 +16,8 @@ class PhpunitTest extends TestCase
|
||||
{
|
||||
self::$executed = true;
|
||||
|
||||
$this->assertTrue(true);
|
||||
assertTrue(true);
|
||||
}
|
||||
}
|
||||
|
||||
// register_shutdown_function(fn () => assertTrue(PhpunitTest::$executed));
|
||||
// register_shutdown_function(fn () => assertTrue(ExecutedTest::$executed));
|
||||
Reference in New Issue
Block a user