1.0
Specify was refactored to simplify its usage. Works with PHP7 and PHPUnit 6+ only (and Codeception, of course)
- BREAKING: PHPUnit 6 support
- BREAKING: Removed configuration section
- BREAKING: Only properties marked with
@specifyannotation are cloned in specify blocks. - BREAKING: Removed throws parameter in specify blocks
- Added
$this->describe,$this->it,$this->shouldaliases to$this->specify - Added
Codeception\Specify\ResultPrinterto fix printing progress of specify blocks.
Upgrade Plan
- Update to PHP7+ PHPUnit 6+
- Add to
phpunit.xml:printerClass="Codeception\Specify\ResultPrinter" - If relied on property cloning, add
@specifyannotation for all properties which needs to be cloned for specify blocks - If you used
throwsparameter, consider using AssertThrows package.