Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/petrgrishin/parallel-unit-test

PHP. Methodology of tests for parallel execution of code
https://github.com/petrgrishin/parallel-unit-test

Last synced: 3 months ago
JSON representation

PHP. Methodology of tests for parallel execution of code

Awesome Lists containing this project

README

        

# parallel-unit-test
Methodology of tests for parallel execution of code

## Installation
Add a dependency and script to your project's composer.json:
```json
{
"require": {
"petrgrishin/parallel-unit-test": "dev-master"
},
"scripts": {
"test:parallel": "/usr/bin/env php vendor/petrgrishin/parallel-unit-test/src/cli.php test:parallel ./home-path-for-tests"
}
}
```

## Create parallel test
```php
assertTrue(true);
}
}
```

## Run parallel test
```shel
composer test:parallel
```