Releases: facile-it/paraunit
0.7.2
0.7.1
Changed
- Added support to the text coverage format with two new CLI options:
--text-to-console
to output it directly onto the standard output, and--text=filename.txt
to save it into a file; this is highly useful with various CI/CD integrations like Jenkins and GitLab.
0.7
Changed
-
Paraunit is now capable of producing the test coverage of your test suites in parallel! To use it, use the new
coverage
command (instead of the normalrun
), along with at least an option to specify the requested format; for
more information, please use the--help
option on the CLI or refer to the documentation. -
It's possible to choose how many concurrent processes Paraunit should spawn using the new
--parallel
option. -
A lot of new options are now supported by Paraunit, and carried over to the single PHPUnit processes. The full list of
new supported options is:filter
group
exclude-group
test-suffix
report-useless-tests
strict-global-state
disallow-test-output
enforce-time-limit
disallow-todo-tests
process-isolation
no-globals-backup
static-backup
loader
repeat
printer
bootstrap
no-configuration
include-path
testsuite
andconfiguration
options are still supported; thanks to @SergeyZ for suggesting the feature (#56) -
Added support to Windows (thanks to R.D. for the help) and Appveyor CI build
-
PHP 7.1 added to the Travis build matrix
-
Log (and coverage) temp files are deleted right after being read, to reduce memory consumption (#63)
Fixed
- Symfony 2.3 compatibility restored: the Travis build now tests with
--prefer-lowest
under PHP 5.3; this added
symfony/http-kernel
to the required packages - Fixed a minor typo that caused version number to be different in the command help versus the command cli "header"
0.6.2
Changed
Fixed
- Temp dir for storing JSON partial logs now works in non-Linux OS too (#52, thanks @thomasvargiu): it previously used a
wrong dir (/temp
); now it relies onsys_get_temp_dir()
as a fallback - Minor fixes to README.md (#48, #49, thanks @garak)
- Paraunit version is shown correctly now when launching it
0.6.1
Changed
- Symfony compatibility has been extended to
<4.0
, since Symfony 3.1 has been released; we will rely on their BC promise - A new approach for dockerfiles, now they will be based on the standard Docker PHP library. This will allow for a
faster image build, cleaner dockerfiles and a more precise PHP version targeting, including:docker/dockerfile-php-5.6
with the relateddocker/setup-php-5.6.sh
script that will allow to build a container
starting from the PHP 5.6 imagedocker/dockerfile-php-7
with the relateddocker/setup-php-7.sh
script that will allow to build a container
starting from the PHP 7.0 image
- Paraunit now adopts PSR-2 as a coding style
- A
contrib/contributing.sh
has been added to tidy the code style, usingphpcbf
- A git pre-commit hook is enabled during the
composer install
command to warn about code style violations
- A
- CONTRIBUTING.md file has been added, with instructions for coding style and usage of Docker images for development
0.6
Changed
- MASSIVE refactoring of the result output parsing (#31, #33) and the result printing (#37): now Paraunit fetches the
tests' results using PHPUnit's--log-json
option (thanks to @taueres for the idea).
This grants a lot of new features:- Parsing of tests results is more robust, it should never fail!
- Fatal errors or segfaults are now grouped as "Abnormal termination"
- When a test has an abnormal termination, the culpable test function is indicated
- Tests with abnormal termination are printed out in full output
- Tests executed in a test class that has a later abnormal termination are showed and counted in results anyhow
- Added support for warnings, introduced in PHPUnit 5.1 (#30)
- Added support for risky outcomes
Fixed
- Removed
Container.php
file andCompilerPass
class in favor of proper usage of Symfony's components paraunit
bin now uses the container directly- FinalPrinter class splitted in 3 classes
0.5
Changed
- SQLite is now supported in the deadlock-recognition fase (issue #26, thanks @Algatux)
- Travis is testing on PHP 7.0, no more nightlies or allowed failures
- Symfony 3.0 components are now supported and compatible with Paraunit
- Retry parsing and management is improved
Fixed
- Removed double generation of MD5 hash of process