Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergeymakinen/tests
Common PHPUnit tests stuff
https://github.com/sergeymakinen/tests
php php-library phpunit test tests unit-testing unittest
Last synced: about 2 months ago
JSON representation
Common PHPUnit tests stuff
- Host: GitHub
- URL: https://github.com/sergeymakinen/tests
- Owner: sergeymakinen
- License: mit
- Created: 2017-01-20T15:52:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T18:12:54.000Z (over 5 years ago)
- Last Synced: 2024-12-18T01:09:55.408Z (about 2 months ago)
- Topics: php, php-library, phpunit, test, tests, unit-testing, unittest
- Language: PHP
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Common PHPUnit tests stuff
Common tests stuff for PHPUnit tests. Version 1.3 or higher is compatible with PHPUnit:
- 4.8.25 or higher
- 5.4.3 or higher
- 6.0.5 or higher
- 7.0.0 or higherI use it in my library tests but you're also free to use. :)
[![Code Quality](https://img.shields.io/scrutinizer/g/sergeymakinen/tests.svg?style=flat-square)](https://scrutinizer-ci.com/g/sergeymakinen/tests) [![Build Status](https://img.shields.io/travis/sergeymakinen/tests.svg?style=flat-square)](https://travis-ci.org/sergeymakinen/tests) [![Code Coverage](https://img.shields.io/codecov/c/github/sergeymakinen/tests.svg?style=flat-square)](https://codecov.io/gh/sergeymakinen/tests) [![SensioLabsInsight](https://img.shields.io/sensiolabs/i/972b722f-b194-4de7-9eed-24f77bc8c9e2.svg?style=flat-square)](https://insight.sensiolabs.com/projects/972b722f-b194-4de7-9eed-24f77bc8c9e2)
[![Packagist Version](https://img.shields.io/packagist/v/sergeymakinen/tests.svg?style=flat-square)](https://packagist.org/packages/sergeymakinen/tests) [![Total Downloads](https://img.shields.io/packagist/dt/sergeymakinen/tests.svg?style=flat-square)](https://packagist.org/packages/sergeymakinen/tests) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
## Installation
The preferred way to install this extension is through [composer](https://getcomposer.org/download/).
Either run
```bash
composer require --dev "sergeymakinen/tests:^1.0"
```or add
```json
"sergeymakinen/tests": "^1.0"
```to the require-dev section of your `composer.json` file.
## Usage
```php
class MyClassTest extends \SergeyMakinen\Tests\TestCase
{
//
}
```