quasilyte/kphpunit

KPHP polyfill-like package for the PHPUnit

dev-master 2021-08-11 10:55 UTC

This package is not auto-updated.

Last update: 2024-04-20 05:54:05 UTC


README

KPHP polyfill-like package for the PHPUnit.

This package is exported to make it possible for ktest to work in phpunit mode.

Everything you need to know about this package:

  1. It tries to mimic the PHPUnit API where possible, so you don't need a kphpunit API reference; it's the same

  2. You install it to your [K]PHP project to have an ability to run KPHP tests.

  3. You never directly use it on your own. It's inserted into the instrumented code produced by the ktest code generator.

So if you need anything apart from installing this package, please file an issue in ktest repository.

To install this package, do the following:

$ composer require --dev quasilyte/kphpunit