Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Running tests as a multisite fails to submit testing report

未关闭
#267 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@desrosj 已经在做这个了。

开始于 2025年9月18日。

评估

这个 Issue 还没有评估数据。

描述

bug ContributorDay needs testing WCUS26

Describe the bug
When the test runner is configured to run the unit test suite as a multisite, the results will not be submitted successfully because no junit.xml file is produced.

I've opened a ticket upstream in Core Trac, but I'm creating this to follow up once that's addressed, and to consider any other functional differences when running the tests as a multisite install.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare and run the test runner with WPT_FLAVOR=1.
  2. Run the reporting script.
  3. Observe a failure.
  4. Inspect the tests/phpunit/build/logs directory and see that there is no junit.xml file.
主要语言
PHP
星标
77
派生
79
平均合并
4 天 19 小时
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

WordPress/phpunit-test-runner 的其他 Issue

查看 WordPress/phpunit-test-runner 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。