paraunit

Run PHPUnit tests in parallel

APACHE-2.0 License

Downloads
380.9K
Stars
136
Committers
18

Bot releases are hidden (Show)

paraunit - 0.7

Published by Jean85 almost 8 years ago

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 normal run), 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 and configuration 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"
paraunit - 0.6.2

Published by Jean85 almost 8 years ago

Changed

  • Binaries moved to the /bin dir (#50, thanks @garak)

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 on sys_get_temp_dir() as a fallback
  • Minor fixes to README.md (#48, #49, thanks @garak)
  • Paraunit version is shown correctly now when launching it
paraunit - 0.6.1

Published by Jean85 over 8 years ago

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 related docker/setup-php-5.6.sh script that will allow to build a container
      starting from the PHP 5.6 image
    • docker/dockerfile-php-7 with the related docker/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, using phpcbf
    • A git pre-commit hook is enabled during the composer install command to warn about code style violations
  • CONTRIBUTING.md file has been added, with instructions for coding style and usage of Docker images for development
paraunit - 0.6

Published by Jean85 over 8 years ago

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 and CompilerPass class in favor of proper usage of Symfony's components
  • paraunit bin now uses the container directly
  • FinalPrinter class splitted in 3 classes
paraunit - 0.5

Published by Jean85 over 8 years ago

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
paraunit - 0.4.4

Published by Jean85 over 8 years ago

Fixed

  • Merged previous v0.4 branch, there were missing fixes in previous release
paraunit - 0.4.2

Published by Jean85 over 8 years ago

Changed

  • Unlocked supporto for PHPUnit >= 5.x
  • README changed to suggest stable version of package in composer.json example

Fixed

  • Fixed: test stub for fatal errors fixed for HHVM & PHP7
paraunit - 0.4.1

Published by Jean85 over 8 years ago

Changed

  • Improved: --configuration parameter now has the -c shortcut

Fixed

  • Fixed: test with fatal errors are not mistaken (and printed twice) for unknown results in the final results
paraunit - 0.4

Published by Jean85 over 8 years ago

  • Initial public release
paraunit - 0.4.3

Published by ranpafin almost 9 years ago

Changed

  • --configuration behaviour is now identical to the same option in PHPUnit: it can accept also a path without a filename,
    and has a -c shortcut (default filename is phpunit.xml.dist) [#19]
  • Added -c shortcut to README
Package Rankings
Top 3.15% on Packagist.org
Badges
Extracted from project README
Stable release Unstable release Build status Coverage Status