Skip to content

Cannot run test suite with PHPunit 12 #640

@remicollet

Description

@remicollet
PHPUnit 12.1.3 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.7RC1
Configuration: /dev/shm/BUILD/php-phpspec-prophecy-1.22.0-build/prophecy-35f1adb388946d92e6edab2aa2cb2b60e132ebd5/phpunit.xml.dist

There were 6 PHPUnit test runner warnings:

1) No tests found in class "Tests\Prophecy\Argument\Token\ExactValueTokenTest".

2) No tests found in class "Tests\Prophecy\Comparator\FactoryProviderTest".

3) No tests found in class "Tests\Prophecy\Doubler\ClassPatch\MagicCallPatchTest".

4) No tests found in class "Tests\Prophecy\Doubler\Generator\ClassMirrorTest".

5) No tests found in class "Tests\Prophecy\Doubler\Generator\Node\TypeNodeAbstractTest".

6) No tests found in class "Tests\Prophecy\FunctionalTest".

No tests executed!

OK with PHPUnit11

PHPUnit 11.5.18 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.2.28
Configuration: /dev/shm/BUILD/php-phpspec-prophecy-1.22.0-build/prophecy-35f1adb388946d92e6edab2aa2cb2b60e132ebd5/phpunit.xml.dist

.............................S................................... 65 / 69 ( 94%)
....                                                              69 / 69 (100%)

Time: 00:00.023, Memory: 6.00 MB

OK, but there were issues!
Tests: 69, Assertions: 139, PHPUnit Deprecations: 65, Skipped: 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions