Problem/Motivation

This issue belongs in the 8.7.x issue queue, but that branch is not yet available for filing an issue.

Follow-up to #2905007: Allow run-tests.sh to report skipped/incomplete PHPUnit tests

In that issue we began deprecating these functions:

  • simpletest_phpunit_xml_to_rows()
  • simpletest_phpunit_find_testcases()
  • simpletest_phpunit_testcase_to_row()

They are still in use, however, in order to parse PHPUnit 4 JUnit reports.

In Drupal 8.7.x, we will drop support for PHP 5, which means all our testing will occur using PHPUnit 6.

When that happens, we can more formally deprecate these functions, since they support JUnit reports for a version of PHPUnit we no longer use.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Mile23 created an issue. See original summary.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

mile23’s picture

Title: Remove usages, trigger error for deprecated simpletest JUnit functions (8.7.x) » Remove usages, trigger error for deprecated simpletest JUnit functions when we stop using PHP 5
mile23’s picture

mile23’s picture

Status: Postponed » Closed (outdated)

Out of date because the target branch is 8.8.x which no longer supports PHPUnit < 6.5.