Skip to content

bbatsche/Verify

 
 

Repository files navigation

Verify

BDD Assertions for PHPUnit and Codeception.

This is small wrapper for PHPUnit assertions that is aimed to make tests more readable and easier to maintain. With BDD assertions influenced by Chai, Jasmine, and RSpec your assertions will look a bit more like natural language.

Latest Stable Version Required PHP Version Required PHPUnit Version License Acceptance Test Status Code Coverage

Most of the original work was done by @DavertMik and @Ragazzo in the Codeception/Verify repo. This version provides an alternate API and feature set, while sticking to the original BDD philosophy.

Installation

To install the current version of BeBat/Verify from Packagist, run the following in your project directory:

composer require --dev bebat/verify

BeBat/Verify will be added to your composer.json under require-dev and installed in your vendor directory.

Compatibility

BeBat/Verify is built on top of PHPUnit's own assertions. It is compatible with any version of PHPUnit 8, 9, or 10.1 and above. It should also be compatible with the current version of Codeception.

In addition, BeBat/Verify is compatible with both PHP 7.2+ and 8+.

Documentation

Full documentation for BeBat/Verify can be found on Read the Docs.

About

BDD Assertions for PHPUnit and Codeception

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages

  • PHP 100.0%