Problem/Motivation

On my local machine, using Paratest to execute CRM's tests reduced elapsed duration by 65%.

Steps to reproduce

Proposed resolution

Add Paratest to composer.json's require-dev and refer to in developer documentation

ddev exec ./vendor/bin/paratest

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork crm-3558080

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jdleonard created an issue. See original summary.

jdleonard’s picture

Assigned: jdleonard » Unassigned
Status: Active » Needs review
bluegeek9’s picture

Status: Needs review » Needs work

Pipeline fails.

jdleonard’s picture

Status: Needs work » Needs review

bluegeek9 changed the visibility of the branch 1.0.x to hidden.

bluegeek9’s picture

Issue summary: View changes
bluegeek9’s picture

Status: Needs review » Needs work

I ran the tests locally:

ddev exec ./vendor/bin/paratest

ERRORS!
Tests: 567, Assertions: 7970, Errors: 12, Failures: 126, PHPUnit Deprecations: 1928.

Failed to execute command `./vendor/bin/paratest`: exit status 2

jdleonard’s picture

Status: Needs work » Needs review

I'm not seeing any failures on the latest 1.0.x. Please re-check.

ParaTest v7.8.4 upon PHPUnit 11.5.46 by Sebastian Bergmann and contributors.

Processes: 16
Runtime: PHP 8.3.27
Configuration: /var/www/html/phpunit.xml.dist

............................................................... 63 / 567 ( 11%)
............................................................... 126 / 567 ( 22%)
............................................................... 189 / 567 ( 33%)
............................................................... 252 / 567 ( 44%)
............................................................... 315 / 567 ( 55%)
............................................................... 378 / 567 ( 66%)
............................................................... 441 / 567 ( 77%)
............................................................... 504 / 567 ( 88%)
............................................................... 567 / 567 (100%)

Time: 03:36.013, Memory: 20.00 MB

OK, but there were issues!
Tests: 567, Assertions: 9042, PHPUnit Deprecations: 1928.

bluegeek9’s picture

Status: Needs review » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triage issues and adding more context to existing issues.
  • Flagging CRM as a favorite on the project page to help others discover it and show your support.
  • Review the Developer Docs for accuracy and clarity.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.