Skip to content

quasilyte/kphpunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KPHPUnit

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