Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vkcom/kphpunit

KPHP polyfill-like package for the PHPUnit.
https://github.com/vkcom/kphpunit

kphp kphpunit ktest php phpunit polyfill test tests

Last synced: about 1 month ago
JSON representation

KPHP polyfill-like package for the PHPUnit.

Awesome Lists containing this project

README

        

# KPHPUnit

[KPHP](https://github.com/VKCOM/kphp/) polyfill-like package for the [PHPUnit](https://phpunit.de/).

This package is exported to make it possible for [ktest](https://github.com/VKCOM/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](https://github.com/VKCOM/ktest/issues/new) repository.

To install this package, do the following:

```bash
$ composer require --dev vkcom/kphpunit
```