WordPress/phpunit-test-runner

Make Environment Information Reporting Less Brittle

Open

#111 aperta il 27 feb 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)PHP (75 fork)github user discovery
WCEU26enhancementhelp wanted

Metriche repository

Star
 (76 star)
Metriche merge PR
 (Merge medio 5g 16h) (1 PR mergiata in 30 g)

Descrizione

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.

Guida contributor