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: 7 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T18:12:54.000Z (about 6 years ago)
- Last Synced: 2025-04-02T04:37:07.156Z (7 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 higher
I use it in my library tests but you're also free to use. :)
[](https://scrutinizer-ci.com/g/sergeymakinen/tests) [](https://travis-ci.org/sergeymakinen/tests) [](https://codecov.io/gh/sergeymakinen/tests) [](https://insight.sensiolabs.com/projects/972b722f-b194-4de7-9eed-24f77bc8c9e2)
[](https://packagist.org/packages/sergeymakinen/tests) [](https://packagist.org/packages/sergeymakinen/tests) [](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
{
//
}
```