Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quasilyte/kphpunit
KPHP polyfill-like package for the PHPUnit.
https://github.com/quasilyte/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/quasilyte/kphpunit
- Owner: quasilyte
- Created: 2020-11-26T03:36:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T10:56:14.000Z (over 3 years ago)
- Last Synced: 2024-11-16T17:47:17.688Z (2 months ago)
- Topics: kphp, kphpunit, ktest, php, phpunit, polyfill, test, tests
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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/quasilyte/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/quasilyte/ktest/issues/new) repository.
To install this package, do the following:
```bash
$ composer require --dev quasilyte/kphpunit
```