mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
213 lines
7.0 KiB
Plaintext
213 lines
7.0 KiB
Plaintext
|
|
PASS Tests\CustomTestCase\ExecutedTest
|
|
✓ that gets executed
|
|
|
|
PASS Tests\Features\AfterAll
|
|
✓ deletes file after all
|
|
|
|
PASS Tests\Features\AfterEach
|
|
✓ it does not get executed before the test
|
|
✓ it gets executed after the test
|
|
|
|
PASS Tests\Features\BeforeAll
|
|
✓ it gets executed before tests
|
|
✓ it do not get executed before each test
|
|
|
|
PASS Tests\Features\BeforeEach
|
|
✓ it gets executed before each test
|
|
✓ it gets executed before each test once again
|
|
|
|
PASS Tests\Features\Datasets
|
|
✓ it throws exception if dataset does not exist
|
|
✓ it throws exception if dataset already exist
|
|
✓ it sets closures
|
|
✓ 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 ('FoooFoooFoooFoooFoooFoooFoooF...ooFooo')
|
|
✓ lazy datasets with (1)
|
|
✓ lazy datasets with (2)
|
|
✓ lazy datasets did the job right
|
|
✓ eager datasets with (1)
|
|
✓ eager datasets with (2)
|
|
✓ eager datasets did the job right
|
|
✓ lazy registered datasets with (1)
|
|
✓ lazy registered datasets with (2)
|
|
✓ lazy registered datasets did the job right
|
|
✓ eager registered datasets with (1)
|
|
✓ eager registered datasets with (2)
|
|
✓ eager registered datasets did the job right
|
|
✓ eager wrapped registered datasets with (1)
|
|
✓ eager wrapped registered datasets with (2)
|
|
✓ eager registered wrapped datasets did the job right
|
|
✓ named datasets with data set "one" (1)
|
|
✓ named datasets with data set "two" (2)
|
|
✓ named datasets did the job right
|
|
✓ lazy named datasets with (Bar Object (...))
|
|
✓ it creates unique test case names with ('Name 1', Pest\Plugin Object (), true) #1
|
|
✓ it creates unique test case names with ('Name 1', Pest\Plugin Object (), true) #2
|
|
✓ it creates unique test case names with ('Name 1', Pest\Plugin Object (), false)
|
|
✓ it creates unique test case names with ('Name 2', Pest\Plugin Object (), false)
|
|
✓ it creates unique test case names with ('Name 2', Pest\Plugin Object (), true)
|
|
✓ it creates unique test case names with ('Name 1', Pest\Plugin Object (), true) #3
|
|
✓ it creates unique test case names - count
|
|
|
|
PASS Tests\Features\Exceptions
|
|
✓ it gives access the the underlying expectException
|
|
✓ it catch exceptions
|
|
✓ it catch exceptions and messages
|
|
|
|
PASS Tests\Features\Helpers
|
|
✓ it can set/get properties on $this
|
|
✓ it throws error if property do not exist
|
|
✓ it allows to call underlying protected/private methods
|
|
✓ it throws error if method do not exist
|
|
✓ it can forward unexpected calls to any global function
|
|
|
|
PASS Tests\Features\HigherOrderTests
|
|
✓ it proxies calls to object
|
|
✓ it is capable doing multiple assertions
|
|
|
|
PASS Tests\Features\It
|
|
✓ it is a test
|
|
✓ it is a higher order message test
|
|
|
|
PASS Tests\Features\Macro
|
|
✓ it can call chained macro method
|
|
✓ it will throw exception from call if no macro exists
|
|
|
|
PASS Tests\Features\Mocks
|
|
✓ it has bar
|
|
|
|
PASS Tests\Features\PendingHigherOrderTests
|
|
✓ get 'foo' → get 'bar' → expect true → toBeTrue
|
|
✓ get 'foo' → expect true → toBeTrue
|
|
|
|
WARN Tests\Features\Skip
|
|
✓ it do not skips
|
|
- it skips with truthy
|
|
- it skips with truthy condition by default
|
|
- it skips with message → skipped because bar
|
|
- it skips with truthy closure condition
|
|
✓ it do not skips with falsy closure condition
|
|
- it skips with condition and message → skipped because foo
|
|
- it skips when skip after assertion
|
|
|
|
PASS Tests\Features\Test
|
|
✓ a test
|
|
✓ higher order message test
|
|
|
|
PASS Tests\Fixtures\DirectoryWithTests\ExampleTest
|
|
✓ it example 1
|
|
|
|
PASS Tests\Fixtures\ExampleTest
|
|
✓ it example 2
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\InvalidTestName
|
|
✓ this runs file names like "@#$%^&()-_=+.php"
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\ATestWithSpaces
|
|
✓ this runs file names like "A Test With Spaces.php"
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\AdditionalFileExtensionspec
|
|
✓ this runs file names like "AdditionalFileExtension.spec.php"
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\ManyExtensionsclasstest
|
|
✓ this runs file names like "ManyExtensions.class.test.php"
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\TestCaseWithQuotes
|
|
✓ this runs file names like "Test 'Case' With Quotes.php"
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\kebabcasespec
|
|
✓ this runs file names like "kebab-case-spec.php"
|
|
|
|
PASS Tests\PHPUnit\CustomAffixes\snakecasespec
|
|
✓ this runs file names like "snake_case_spec.php"
|
|
|
|
PASS Tests\PHPUnit\CustomTestCase\UsesPerDirectory
|
|
✓ closure was bound to CustomTestCase
|
|
|
|
PASS Tests\PHPUnit\CustomTestCaseInSubFolders\SubFolder\SubFolder\UsesPerSubDirectory
|
|
✓ closure was bound to CustomTestCase
|
|
|
|
PASS Tests\PHPUnit\CustomTestCaseInSubFolders\SubFolder2\UsesPerFile
|
|
✓ custom traits can be used
|
|
✓ trait applied in this file
|
|
|
|
PASS Tests\Playground
|
|
✓ basic
|
|
|
|
PASS Tests\Plugins\Traits
|
|
✓ it allows global uses
|
|
✓ it allows multiple global uses registered in the same path
|
|
|
|
PASS Tests\Unit\Actions\AddsDefaults
|
|
✓ it sets defaults
|
|
✓ it does not override options
|
|
|
|
PASS Tests\Unit\Actions\AddsTests
|
|
✓ default php unit tests
|
|
✓ it removes warnings
|
|
|
|
PASS Tests\Unit\Actions\ValidatesConfiguration
|
|
✓ it throws exception when configuration not found
|
|
✓ it throws exception when `process isolation` is true
|
|
✓ it do not throws exception when `process isolation` is false
|
|
|
|
PASS Tests\Unit\Console\Help
|
|
✓ it outputs the help information when --help is used
|
|
|
|
PASS Tests\Unit\Datasets
|
|
✓ it show the names of named datasets in their description
|
|
|
|
PASS Tests\Unit\Plugins\Version
|
|
✓ it outputs the version when --version is used
|
|
✓ it do not outputs version when --version is not used
|
|
|
|
PASS Tests\Unit\Support\Backtrace
|
|
✓ it gets file name from called file
|
|
|
|
PASS Tests\Unit\Support\Container
|
|
✓ it exists
|
|
✓ it gets an instance
|
|
✓ autowire
|
|
✓ it creates an instance and resolves parameters
|
|
✓ it creates an instance and resolves also sub parameters
|
|
✓ it can resolve builtin value types
|
|
✓ it cannot resolve a parameter without type
|
|
|
|
PASS Tests\Unit\Support\Reflection
|
|
✓ it gets file name from closure
|
|
✓ it gets property values
|
|
|
|
PASS Tests\Unit\TestSuite
|
|
✓ it does not allow to add the same test description twice
|
|
|
|
PASS Tests\Visual\Help
|
|
✓ visual snapshot of help command output
|
|
|
|
PASS Tests\Visual\SingleTestOrDirectory
|
|
✓ allows to run a single test
|
|
✓ allows to run a directory
|
|
✓ it has ascii chars
|
|
✓ it disable decorating printer when colors is set to never
|
|
|
|
WARN Tests\Visual\Success
|
|
- visual snapshot of test suite on success
|
|
|
|
PASS Tests\Features\Depends
|
|
✓ first
|
|
✓ second
|
|
✓ it asserts true is true
|
|
✓ depends
|
|
✓ depends with ...params
|
|
✓ depends with defined arguments
|
|
✓ depends run test only once
|
|
✓ depends works with the correct test name
|
|
|
|
PASS Tests\Features\DependsInheritance
|
|
✓ it is a test
|
|
✓ it uses correct parent class
|
|
|
|
Tests: 7 skipped, 115 passed
|
|
|