WordPress / WordPress/phpunit-test-runner

Make Environment Information Reporting Less Brittle

Open
#111 2 comments 0 reactions 1 assignee View on GitHub

@getsource is already working on this.

Since Mar 16, 2020.

enhancement help wanted needs assignee WCUS26
Dominant language
PHP
Stars
77
Forks
77
Avg merge
15d 15h
Merged PRs (30d)
4

Description

Environment information collection happens via a string replacement on https://github.com/WordPress/phpunit-test-runner/blob/master/prepare.php#L91.

This means that if the comments in wp-tests-config-sample.php are changed in core, environment reporting in the test runner breaks.
This ticket is a follow-up to when this happened in #105.

We should make this reporting less brittle so that it doesn't break when minor changes are made in core.

See #105 #109.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.