paraunit

Run PHPUnit tests in parallel

APACHE-2.0 License

Downloads
380.9K
Stars
136
Committers
18

Bot releases are hidden (Show)

paraunit -

Published by Jean85 over 6 years ago

Fixed

  • Allow explicitly phpunit/php-file-iterator 2 #126
paraunit -

Published by Jean85 over 6 years ago

Fixed

  • Allow multiple, comma-separated values with the --testsuite option, like with PHPUnit 6+ #122
  • Avoid letting the colored console output blink (dots, errors) #124 thanks to @elegos
  • Add a new exception about MySQL savepoint to the retryable ones #125
paraunit -

Published by Jean85 over 6 years ago

Fixed

  • Fix the behavior of the new --text and --text-summary options (#121)
paraunit -

Published by Jean85 over 6 years ago

Added

  • Added support for PHPUnit 7 and phpunit/php-code-coverage 6

Changed

  • The coverage text output options have changed:
    • The --text option now accepts a filename as an argument, and defaults to the console as output (replacing --text-to-console)
    • The new --text-summary option behaves in the same way, but it writes only the summary part

Removed

  • Removed support for PHP 7.0 (needed to support PHPUnit 7 correctly)
  • Dropped unneeded dependency to symfony/config
  • Dropped the --text-to-console coverage option in favor of the new behavior
paraunit -

Published by Jean85 over 6 years ago

paraunit -

Published by Jean85 almost 7 years ago

Added

  • Added support for Symfony 4

Changed

  • Migrated the whole DI configuration from YAML to PHP
  • Require at least jean85/pretty-package-versions 1.0.3 (see related #3)

Fixed

  • When a test class is retried, previous tests are no longer shown/counted toward executed tests (#109).

Removed

  • Removed support for Symfony 2.7
  • Removed dependency from symfony/yaml
paraunit -

Published by Jean85 about 7 years ago

Added

  • Add support for deprecation warnings found by symfony/phpunit-bridge: failures and tests output are now reported

Changed

  • Start suggesting dama/doctrine-test-bundle instead of facile-it/paraunit-testcase, since it has been abandoned.
paraunit -

Published by Jean85 about 7 years ago

Added

  • Add official support to PHP 7.2 (added to Travis CI matrix)
  • Add executed tests counter at the end of each line in output (#91)

Changed

  • The Shark logo is now optional; to show it at the top, use the --logo option
  • The --debug output has been completely rewritten and now is more useful than ever!

Fixed

  • Fix the --text-to-console coverage option (#99)
paraunit -

Published by Jean85 over 7 years ago

Fixed

  • Add missing dependencies: symfony/yaml and symfony/stopwatch
paraunit -

Published by Jean85 over 7 years ago

Fixed

  • Add missing dependencies: symfony/yaml and symfony/stopwatch
paraunit -

Published by Jean85 over 7 years ago

Changed

  • Use Jean85\PrettyVersions to print the version header, and hide the big SHA commit hash when not needed
paraunit -

Published by Jean85 over 7 years ago

Changed

  • Implement pipelines: now every single test process has an environment variable called PARAUNIT_PIPELINE_NUMBER injected which is a number that identifies the pipeline in which the test is executed; it can be used as a discriminator to access a different set of resources (i.e. a different copy of a test DB). See the documentation for more details.
  • Support for PHPUnit 6
  • Drop support for PHPUnit 4 & 5
  • Minimum PHP version required: 7.0
  • Improvement to the whole codebase (scalar and return type hints, strict types enforced, see #93)
  • Realign options passed through to PHPUnit:
    • Added --strict-coverage
    • Added --disallow-resource-usage
    • Added --no-coverage
    • Added --no-extensions
    • Changed --report-useless-tests to --dont-report-useless-tests
    • Changed --no-globals-backup to --globals-backup

Fixed

  • The --repeat option now works correctly (see #92)
  • The PHPUnit configuration is no longer copied temporarily in the current working folder, it's no longer needed
paraunit -

Published by Jean85 over 7 years ago

Fixed

  • Fix the signature of LogPrinter, to avoid warnings (this would lead to no test execution when considering warnings as test failures)
paraunit -

Published by Jean85 over 7 years ago

Fixed

  • Fix #88: write the temporary configuration file in the same dir of the original, to avoid issue with Symfony when it guesses its kernel dir
paraunit - 0.8

Published by Jean85 over 7 years ago

Changed

  • Add support for two additional coverage output format: --php and --crap4j
  • Add support for colored output when using --text-to-console: just use the --ansi option with it
  • Copied and moved the JSON log printer from PHPUnit to Paraunit, to allow further support and better control over the logs
  • When printing the file recap at the end of the execution, print the test's FQCN if possible instead of the filename
  • Various internal refactoring (DI, configuration, runner, coverage processors)
  • Added Continuous Deployment: the PHAR gets built and signed on Travis when tagging, and deployed automatically into a GitHub release (thanks to @heiglandreas for the tips)
paraunit -

Published by Jean85 over 7 years ago

paraunit - 0.7.4

Published by Jean85 almost 8 years ago

Changed

  • Add optional argument to both commands to filter tests filenames; the filter is case insensitive and doesn't rely on paths, so it doesn't have to be a full or relative path; it can also be used in conjunction with the --testsuite option
paraunit - 0.7.3

Published by Jean85 almost 8 years ago

Changed

  • Add PHAR generation tools (thanks @taueres for the previous PR); from now on, Paraunit is released as a PHAR too!
paraunit - 0.7.2

Published by Jean85 almost 8 years ago

Fixed

  • Disable colored output in text coverage to console, to avoid issues with GitLab integration.
paraunit - 0.7.1

Published by Jean85 almost 8 years ago

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.
Package Rankings
Top 3.15% on Packagist.org
Badges
Extracted from project README
Stable release Unstable release Build status Coverage Status