You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
## Unreleased
7
7
8
-
## [1.0.0] - TBA
8
+
## [1.0.0] - 2020-03-11
9
9
First stable release. The following changes are in comparison to the previous, unstable release (0.12.3), split into the beta releases that were tagged in the meantime.
Paraunit is a tool for faster executions of PHPUnit test suites. It makes this possible by launching multiple test in parallel with single PHPUnit processes.
16
13
17
14
Paraunit is developed using Symfony components.
18
15
19
16
## Installation
20
-
### From Composer
21
17
To use this package, use Composer:
22
18
23
19
* from CLI: `composer require --dev facile-it/paraunit`
@@ -26,23 +22,11 @@ To use this package, use Composer:
26
22
```json
27
23
{
28
24
"require-dev": {
29
-
"facile-it/paraunit": "~0.12"
25
+
"facile-it/paraunit": "~1.0"
30
26
}
31
27
}
32
28
```
33
29
34
-
### PHAR
35
-
If you prefer you can directly download the latest version in **PHAR format**, from the [latest GitHub release page](https://github.com/facile-it/paraunit/releases/latest), starting from 0.7.3. In this case, you need to replace `vendor/bin/paraunit` with `./paraunit.phar`.
36
-
37
-
#### Verify the GPG signature
38
-
All the Paraunit PHAR releases are signed with GPG. To verify the signature:
39
-
* Download the PHAR
40
-
* Download the associated GPG signature (the `.asc` file)
41
-
* Use the GPG tool to verify
42
-
```
43
-
gpg --verify paraunit-x.y.phar.asc paraunit.phar
44
-
```
45
-
46
30
## Usage
47
31
Paraunit starts as a Symfony console command, but it's provided through a bin launcher; you can run it like this:<br/>
48
32
(assuming your composer's bin dir is `vendor/bin`)
@@ -51,12 +35,13 @@ vendor/bin/paraunit run
51
35
```
52
36
This command will launch all the tests in all your configured testsuites.
53
37
38
+
### Collect test coverage
54
39
Paraunit is also able to **collect the test coverage in parallel**, like this:
55
40
```
56
41
vendor/bin/paraunit coverage --html=./dir
57
42
```
58
43
59
-
It automatically **uses PHPDBG**if available, and it can produce coverage in the same formats that PHPUnit provides: HTML, Clover, XML, Crap4j, PHP, text file and text to console.
44
+
It **automatically uses the best coverage driver available**: it tries to use [Pcov](https://github.com/krakjoe/pcov)if available (since it's the fastest), otherwise it uses [Xdebug](https://xdebug.org/). If neither are available, it should always be able to use [PHPDbg](https://www.php.net/manual/en/book.phpdbg.php), which is bundled in PHP core, so it should be always present. It can produce coverage in the same formats that PHPUnit provides: HTML, Clover, XML, Crap4j, PHP, text file and text to console.
60
45
61
46
## Documentation
62
47
For more details about Paraunit and its usage, see the [documentation](https://engineering.facile.it/paraunit/documentation/)
@@ -65,13 +50,9 @@ For more details about Paraunit and its usage, see the [documentation](https://e
0 commit comments