phpunit-test-runner icon indicating copy to clipboard operation
phpunit-test-runner copied to clipboard

Update Runner to Support Multiple Report Submissions From Hosts

Open kittenkamala opened this issue 5 years ago • 3 comments

Linked to this issue in the reporter repo: https://github.com/WordPress/phpunit-test-reporter/issues/60

Hosts have requested to have support for submitting results from more than one environment that is being tested. This would be helpful for wider testing on more PHP configurations across hosting companies and environments.

At the moment, the only way for this to happen is for hosts to create a separate WordPress.org user and bot account for each environment, and be listed as a separate company for each one.

kittenkamala avatar Feb 11 '20 22:02 kittenkamala

What about a simple env var like export WPT_HOSTING_PACKAGE=Cloud Hosting?

pfefferle avatar Mar 18 '20 16:03 pfefferle

I've been thinking about this, and yes, I think the best way may be an "env var" with a name (maybe we can recommend a combination for PHP / SQL).

This var can be a new custom field (or two), for example a "WPT_HOSTING_PACKAGE" and also a "hash" so no strange char can generate duplications.

javiercasares avatar Jan 22 '22 17:01 javiercasares