mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Merge branch '2.x' into dataset-arguments-check
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
##teamcity[testSuiteStarted name='Tests/tests/Failure' locationHint='file://tests/.tests/Failure.php' flowId='1234']
|
||||
##teamcity[testStarted name='it can fail with comparison' locationHint='pest_qn://tests/.tests/Failure.php::it can fail with comparison' flowId='1234']
|
||||
##teamcity[testFailed name='it can fail with comparison' message='Failed asserting that true matches expected false.' details='at src/Mixins/Expectation.php:342|nat src/Support/ExpectationPipeline.php:75|nat src/Support/ExpectationPipeline.php:79|nat src/Expectation.php:300|nat tests/.tests/Failure.php:6|nat src/Factories/TestCaseMethodFactory.php:100|nat src/Concerns/Testable.php:302|nat src/Support/ExceptionTrace.php:28|nat src/Concerns/Testable.php:302|nat src/Concerns/Testable.php:221|nat src/Kernel.php:84' type='comparisonFailure' actual='true' expected='false' flowId='1234']
|
||||
|
||||
##teamcity[testFinished name='it can fail with comparison' duration='100000' flowId='1234']
|
||||
##teamcity[testStarted name='it can be ignored because of no assertions' locationHint='pest_qn://tests/.tests/Failure.php::it can be ignored because of no assertions' flowId='1234']
|
||||
##teamcity[testIgnored name='it can be ignored because of no assertions' message='This test did not perform any assertions' details='' flowId='1234']
|
||||
@ -9,7 +9,7 @@
|
||||
##teamcity[testIgnored name='it can be ignored because it is skipped' message='This test was ignored.' details='' flowId='1234']
|
||||
##teamcity[testFinished name='it can be ignored because it is skipped' duration='100000' flowId='1234']
|
||||
##teamcity[testStarted name='it can fail' locationHint='pest_qn://tests/.tests/Failure.php::it can fail' flowId='1234']
|
||||
##teamcity[testFailed name='it can fail' message='oh noo' details='at tests/.tests/Failure.php:18|nat src/Factories/TestCaseMethodFactory.php:100|nat src/Concerns/Testable.php:302|nat src/Support/ExceptionTrace.php:28|nat src/Concerns/Testable.php:302|nat src/Concerns/Testable.php:221|nat src/Kernel.php:84' flowId='1234']
|
||||
|
||||
##teamcity[testFinished name='it can fail' duration='100000' flowId='1234']
|
||||
##teamcity[testStarted name='it is not done yet' locationHint='pest_qn://tests/.tests/Failure.php::it is not done yet' flowId='1234']
|
||||
##teamcity[testIgnored name='it is not done yet' message='This test was ignored.' details='' flowId='1234']
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
Pest Testing Framework 2.x-dev.
|
||||
Pest Testing Framework 2.1.0.
|
||||
|
||||
USAGE: pest <file> [options]
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
--test-suffix [suffixes] Only search for test in files with specified suffix(es). Default: Test.php,.phpt
|
||||
|
||||
EXECUTION OPTIONS:
|
||||
--parallel ........................................... Run tests in parallel
|
||||
--process-isolation ................ Run each test in a separate PHP process
|
||||
--globals-backup ................. Backup and restore $GLOBALS for each test
|
||||
--static-backup ......... Backup and restore static properties for each test
|
||||
|
||||
@ -4,6 +4,9 @@
|
||||
✓ dependencies
|
||||
✓ contracts
|
||||
|
||||
PASS Tests\Environments\Windows
|
||||
✓ global functions are loaded
|
||||
|
||||
PASS Tests\Features\AfterAll
|
||||
✓ deletes file after all
|
||||
|
||||
@ -331,12 +334,14 @@
|
||||
|
||||
PASS Tests\Features\Expect\toBeGreatherThan
|
||||
✓ passes
|
||||
✓ passes with DateTime and DateTimeImmutable
|
||||
✓ failures
|
||||
✓ failures with custom message
|
||||
✓ not failures
|
||||
|
||||
PASS Tests\Features\Expect\toBeGreatherThanOrEqual
|
||||
✓ passes
|
||||
✓ passes with DateTime and DateTimeImmutable
|
||||
✓ failures
|
||||
✓ failures with custom message
|
||||
✓ not failures
|
||||
@ -379,12 +384,14 @@
|
||||
|
||||
PASS Tests\Features\Expect\toBeLessThan
|
||||
✓ passes
|
||||
✓ passes with DateTime and DateTimeImmutable
|
||||
✓ failures
|
||||
✓ failures with custom message
|
||||
✓ not failures
|
||||
|
||||
PASS Tests\Features\Expect\toBeLessThanOrEqual
|
||||
✓ passes
|
||||
✓ passes with DateTime and DateTimeImmutable
|
||||
✓ failures
|
||||
✓ failures with custom message
|
||||
✓ not failures
|
||||
@ -837,15 +844,6 @@
|
||||
✓ it allows global uses
|
||||
✓ it allows multiple global uses registered in the same path
|
||||
|
||||
WARN Tests\Unit\ConfigLoader
|
||||
✓ it fallbacks to default path if no phpunit file is found
|
||||
- it fallbacks to default path if phpunit is not a valid XML
|
||||
- it fallbacks to default path if failing to read phpunit content
|
||||
- it fallbacks to default path if there is no test suites directory
|
||||
- it fallbacks to default path if test suite directory has no value
|
||||
- it fallbacks to default path if test suite directory does not exist
|
||||
- it returns the parent folder of first test suite directory
|
||||
|
||||
PASS Tests\Unit\Console\Help
|
||||
✓ it outputs the help information when --help is used
|
||||
|
||||
@ -910,6 +908,59 @@
|
||||
✓ it evaluates the code with ('version__ ', '__pest_evaluable_version___')
|
||||
✓ it evaluates the code with ('version\', '__pest_evaluable_version_')
|
||||
|
||||
PASS Tests\Unit\TestName
|
||||
✓ it may start with P with ('P\Tests\BarTest', 'Tests\BarTest')
|
||||
✓ it may start with P with ('P\Packages\Foo', 'Packages\Foo')
|
||||
✓ it may start with P with ('P\PPPackages\Foo', 'PPPackages\Foo')
|
||||
✓ it may start with P with ('PPPackages\Foo', 'PPPackages\Foo') #1
|
||||
✓ it may start with P with ('PPPackages\Foo', 'PPPackages\Foo') #2
|
||||
✓ ふ+が+
|
||||
✓ ほげ
|
||||
✓ 卜竹弓一十山
|
||||
✓ アゴデヸ
|
||||
✓ !p8VrB
|
||||
✓ &xe6VeKWF#n4
|
||||
✓ %%HurHUnw7zM!
|
||||
✓ rundeliekend
|
||||
✓ g%%c!Jt9$fy#Kf
|
||||
✓ NRs*Gz2@hmB$W$BPD%%b2U%3P%z%apnwSX
|
||||
✓ ÀĤ{¼÷
|
||||
✓ ìèéàòç
|
||||
✓ زهراء المعادي
|
||||
✓ الجبيهه
|
||||
✓ الظهران
|
||||
✓ Каролин
|
||||
✓ অ্যান্টার্কটিকা
|
||||
✓ Frýdek-Místek"
|
||||
✓ Allingåbro&
|
||||
✓ Κεντροαφρικανική Δημοκρατία
|
||||
✓ آذربایجان غربی
|
||||
✓ זימבבואה
|
||||
✓ Belišće
|
||||
✓ Գվատեմալա
|
||||
✓ パプアニューギニア
|
||||
✓ 富山県
|
||||
✓ Қарағанды
|
||||
✓ Қостанай
|
||||
✓ 안양시 동안구
|
||||
✓ Itālija
|
||||
✓ Honningsvåg
|
||||
✓ Águeda
|
||||
✓ Râșcani
|
||||
✓ Năsăud
|
||||
✓ Орехово-Зуево
|
||||
✓ Čereňany
|
||||
✓ Moravče
|
||||
✓ Šentjernej
|
||||
✓ Врање
|
||||
✓ Крушевац
|
||||
✓ Åkersberga
|
||||
✓ บอสเนียและเฮอร์เซโกวีนา
|
||||
✓ Birleşik Arap Emirlikleri
|
||||
✓ Німеччина
|
||||
✓ Nam Định
|
||||
✓ 呼和浩特
|
||||
|
||||
PASS Tests\Unit\TestSuite
|
||||
✓ it does not allow to add the same test description twice
|
||||
✓ it alerts users about tests with arguments but no input
|
||||
@ -943,4 +994,4 @@
|
||||
PASS Tests\Visual\Version
|
||||
✓ visual snapshot of help command output
|
||||
|
||||
Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 18 skipped, 644 passed (1586 assertions)
|
||||
Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 12 skipped, 699 passed (1696 assertions)
|
||||
@ -1,3 +1,3 @@
|
||||
|
||||
Pest Testing Framework 2.x-dev.
|
||||
Pest Testing Framework 2.1.0.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user