Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plan for the future (see #3130): Allow for phpunit 5.x. #3139

Merged
merged 2 commits into from
Nov 5, 2017

Conversation

greg-1-anderson
Copy link
Member

I started to fix #3130, but then stopped when I realized that mixing Drush with Drupal prevents us from using phpunit 5.x, and erg sebastion/version 2.x, making the upgrade pointless.

However, I realized that at some point, Drupal will upgrade to phpunit 5.x. While we cannot anticipate every upgrade that Drupal might make, phpunit 4.x is very old, so this is probably overdue, or at least likely to happen eventually.

This PR sets up highest / lowest testing for the isolation tests, and allows the isolation tests to run across different versions of phpunit and sebastion/version. This will give us the flexibility to test with multiple versions of other libraries in the future, if we so desire.

The value for Drush being ahead of the game on upgrades is that it allows newer versions of Drupal to be used with more versions of Drush, making composer update easier to get through when there are minor Drupal upgrades. It behoves us to do this due to the limitations in Composer that can come into play when the dependency analysis of an upgrade is complicated (e.g. as it was for the upgrade to Drupal 8.4.0).

@greg-1-anderson
Copy link
Member Author

While there are more tests here, the isolation tests run really quickly (~1m each, in parallel), and the value of highest / lowest is large.

@greg-1-anderson greg-1-anderson merged commit 483db8e into master Nov 5, 2017
@weitzman weitzman deleted the phpunit-5 branch July 17, 2018 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the sebastian/version dependeny
2 participants