WordPress / phpunit-test-runner

GNU General Public License v2.0
66 stars 63 forks source link

Update Runner to Support Multiple Report Submissions From Hosts #103

Open kittenkamala opened 4 years ago

kittenkamala commented 4 years ago

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.

pfefferle commented 4 years ago

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

javiercasares commented 2 years ago

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.