mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
314 lines
7.9 KiB
Plaintext
314 lines
7.9 KiB
Plaintext
|
|
PASS Tests\CustomTestCase\ExecutedTest
|
|
✓ that gets executed
|
|
|
|
PASS Tests\Expect\toBe
|
|
✓ expect true → toBeTrue → and false → toBeFalse
|
|
✓ strict comparisons
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeArray
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeBool
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeCallable
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeEmpty
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeFalse
|
|
✓ strict comparisons
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeFloat
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeGreatherThan
|
|
✓ passes
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeGreatherThanOrEqual
|
|
✓ passes
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeInfinite
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeInstanceOf
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeInt
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeIterable
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeLessThan
|
|
✓ passes
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeLessThanOrEqual
|
|
✓ passes
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeNAN
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeNull
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeNumeric
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeObject
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeResource
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeScalar
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeString
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toBeTrue
|
|
✓ strict comparisons
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toContain
|
|
✓ passes strings
|
|
✓ passes arrays
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toEqual
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toEqualWithDelta
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toHaveCount
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
PASS Tests\Expect\toHaveProperty
|
|
✓ pass
|
|
✓ failures
|
|
✓ not failures
|
|
|
|
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
|
|
✓ 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\Depends
|
|
✓ first
|
|
✓ second
|
|
✓ depends
|
|
✓ depends with ...params
|
|
✓ depends with defined arguments
|
|
✓ depends run test only once
|
|
|
|
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
|
|
|
|
PASS Tests\Features\HigherOrderTests
|
|
✓ it proxies calls to object
|
|
|
|
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
|
|
|
|
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\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\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\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
|
|
|
|
Tests: 6 skipped, 182 passed
|
|
Time: 5.72s
|