WordPress/phpunit-test-runner

Make Environment Information Reporting Less Brittle

Open

#111 建立於 2020年2月27日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)PHP (75 fork)github user discovery
WCEU26enhancementhelp wanted

倉庫指標

Star
 (76 star)
PR 合併指標
 (平均合併 5天 16小時) (30 天內合併 1 個 PR)

描述

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.

貢獻者指南