weew/helpers-phpspec

Basic helpers for phpspec.

v1.0.3 2016-07-21 11:18 UTC

This package is not auto-updated.

Last update: 2024-11-19 22:40:14 UTC


README

Build Status Test Coverage Version Licence

Table of contents

Installation

composer require weew/helpers-phpspec

Introduction

This tiny library provides various helper functions useful for work with phpspec.

Functions

it

Wrap a value into a Subject to allow expectations to be made outside of the phpspec test suite / context.

Bossa\PhpSpec\Expect\Subject it(mixed $subject)