Specify
Specify copied to clipboard
BDD style code blocks for PHPUnit / Codeception
More information: If you uses specify out of box (as described in github page), it will throw an TypeError: `Codeception\Specify\SpecifyTest::run(): Return value must be of type PHPUnit\Framework\TestResult, null returned` I...
#### What are you trying to achieve? Re run the failed tests: ``` ./codecept run -g failed ``` #### What do you get instead? Failed tests that use `Codeception/Specify` won't...
Hi. I've a test: ``` php public function testSomething() { $this->specify( 'expect output', function () { $this->expectOutputString('lorem ipsum'); (new TestedClass)->doSomething(); } ); $this->specify( 'expect another output', function () { $this->expectOutputString('lorem...
This package was forgotten to allow PHPUnit 10 in
### Summary PHP 8.4 now displays a Deprecated warning for defining an implicit nullable type by assignment. link: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types I would like this warning to be fixed, as it makes...
for https://wiki.php.net/rfc/deprecate-implicitly-nullable-types ### before: ```text ~/work/Specify$ docker run --rm --interactive --tty --volume $PWD:/app --workdir /app php:8.4-cli vendor/bin/phpunit -c ./phpunit.xml Deprecated: Codeception\Specify::specify(): Implicitly marking parameter $code as nullable is deprecated, the...