Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hypemc/phpunit-function-mock

Provides a simple way to mock built-in PHP functions in PHPUnit tests
https://github.com/hypemc/phpunit-function-mock

mock mock-functions monkey-patching php phpunit phpunit-extension testing

Last synced: 13 days ago
JSON representation

Provides a simple way to mock built-in PHP functions in PHPUnit tests

Awesome Lists containing this project

README

        

# Bizkit PHPUnit function mock

[![Build Status](https://github.com/HypeMC/phpunit-function-mock/workflows/CI/badge.svg)](https://github.com/HypeMC/phpunit-function-mock/actions)
[![Latest Stable Version](https://poser.pugx.org/bizkit/phpunit-function-mock/v/stable)](https://packagist.org/packages/bizkit/phpunit-function-mock)
[![License](https://poser.pugx.org/bizkit/phpunit-function-mock/license)](https://packagist.org/packages/bizkit/phpunit-function-mock)
[![Code Coverage](https://codecov.io/gh/HypeMC/phpunit-function-mock/branch/main/graph/badge.svg)](https://codecov.io/gh/HypeMC/phpunit-function-mock)

Provides a simple way to mock built-in PHP functions in PHPUnit tests.

## Versioning

This project adheres to [Semantic Versioning 2.0.0](http://semver.org/).

## Reporting issues

Use the [issue tracker](https://github.com/HypeMC/phpunit-function-mock/issues) to report any issues you might have.

## License

See the [LICENSE](LICENSE) file for license rights and limitations (MIT).