Registry / testing / phpspec-phpspec

phpspec-phpspec

JSON →
library8.3.0phppackagistunverified

Specification-oriented BDD framework for PHP 7.1+.

composer require phpspec/phpspec
INSTALL
IMPORT
SIG · PHPSPEC-PHPSPEC
P
phpspec-phpspec
testingphpv8.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ObjectBehavior
use PhpSpec\ObjectBehavior;

Defines a specification class for behavior-driven development.

use PhpSpec\ObjectBehavior; class MyClassSpec extends ObjectBehavior { function it_is_initializable() { $this->shouldHaveType(MyClass::class); } }
Debug
Known issues
breakingRequires PHP 7.1+; not compatible with PHP 5.x.
fix
Use PHP 7.1 or higher.
affects: <8.0
Upgrade
Version history
8.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
phpspec-phpspec — pip install phpspec-phpspec · libregistry