Pest

Pest is a PHP testing framework, built on PHPUnit, with an expressive syntax: you write it() or test() with a description, then fluent assertions with expect(). It is compatible with existing PHPUnit tests and provides helpers for Laravel.

Example

it('adds two numbers', function () {
  expect(1 + 2)->toBe(3);
});

Related concepts

The whole glossary