Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/vkcom/kphpunit
- Owner: VKCOM
- License: mit
- Archived: true
- Created: 2021-08-17T09:09:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-03T22:28:23.000Z (over 2 years ago)
- Last Synced: 2024-09-25T21:41:21.588Z (about 1 month ago)
- Topics: kphp, kphpunit, ktest, php, phpunit, polyfill, test, tests
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```