bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

Maintainers

👁 md

Package info

github.com/BossaConsulting/phpspec2-expect

pkg:composer/bossa/phpspec2-expect

Statistics

Installs: 1 767 597

Dependents: 112

Suggesters: 1

Stars: 74

Open Issues: 1

3.1.3 2020-02-12 21:34 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT a46a68dbc97b617be3aecd3723c8a82c7658613a

BDDTDDspecSpecBDDspecification

This package is auto-updated.

Last update: 2026-06-12 02:19:54 UTC


README

👁 Build Status

phpspec2-expect

Installation

Install it using the composer require command:

 composer require --dev bossa/phpspec2-expect

Alternativelly you can add it to the composer.json file

{
 "require-dev": {
 "bossa/phpspec2-expect": "^3.0"
 },
 "config": {
 "bin-dir": "bin"
 },
 "minimum-stability": "dev",
 "autoload": {
 "psr-0": {
 "spec": "",
 "": "src"
 }
 }
}

Usage

Inside some example:

 expect(file_exists('crazyfile.xtn'))->toBe(true);

Roadmap

Version 2.x supports PhpSpec 3 and PHP 5.6.

Version 3.0.x requires PhpSpec 4, and therefore requires PHP 7.

Version 3.1.x requires PhpSpec 5 and PHP 7.

These versions are all under active support.