vkcom/kphpunit

This package is abandoned and no longer maintained. No replacement package was suggested.

KPHP polyfill-like package for the PHPUnit

v1.0.0 2022-03-03 22:19 UTC

This package is auto-updated.

Last update: 2024-04-29 04:48:07 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 vkcom/kphpunit