WordPress/phpunit-test-runner

Make Environment Information Reporting Less Brittle

Open

#111 aberto em 27 de fev. de 2020

Ver no GitHub
 (2 comments) (0 reactions) (1 assignee)PHP (75 forks)github user discovery
WCEU26enhancementhelp wanted

Métricas do repositório

Stars
 (76 stars)
Métricas de merge de PR
 (Mesclagem média 5d 16h) (1 fundiu PR em 30d)

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.

Guia do colaborador