hoaproject / Test

The Hoa\Test library.
https://hoa-project.net/
11 stars 10 forks source link

Provide telemetry reports #62

Open vonglasow opened 8 years ago

vonglasow commented 8 years ago

Add telemetry reports https://github.com/atoum/telemetry

vonglasow commented 8 years ago

Hello,

Telemetry need a project name and it's now configured into the .atoum.php file or used the name in composer.json file but on the project where the report is set. So when we run any test the only project name used is the one defined into the config file which is test. And we need a way to give this name into the telemetry report.

Second point, this reporting use internet connection to send this report and we should run tests without internet connexion. So this report should be enabled or disabled.

  1. How can we set the project name for telemetry?
  2. How can we add an option to allowed or not this report?
Hywan commented 8 years ago

About the project name, we can simply use Hoa or hoa/central. However, hoa/test is fine to me. This is the library that we test. Is it necessary to have the exact name of the library? What is the gain?

About the Internet connection, I assume this is the role of the atoum extension to avoid errors if the report cannot be sent.

However, I see another problem. The report extension is excellent but it loads too much libraries. This is why it does not land yet in hoa/test. Do you think it would be hard to develop our own reporter or just use the telemetry part, extract from the report extension?

Hywan commented 8 years ago

cc @jubianchi

jubianchi commented 8 years ago

we could split the reports-ext and make the telemetry part standalone

Hywan commented 8 years ago

@jubianchi Can we help?

jubianchi commented 8 years ago

I'll make it available as a standalone ext before the PHPTour. Thanks for asking ;)

vonglasow commented 8 years ago

@jubianchi Hello, have you any update regarding the standalone ext ? Do you need help ?

vonglasow commented 8 years ago

ping @jubianchi Hello, do you need some help to separate telemetry reporting extension ?

Hywan commented 7 years ago

@vonglasow @jubianchi ping?

vonglasow commented 7 years ago

@Hywan we need to see with @jubianchi to publish the extension, one workaround will be to fork it and publish it on our "namespace".

What do you think ?

Hywan commented 7 years ago

I pinged @jubianchi yesterday, let's see if it happens :-).

vonglasow commented 6 years ago

Telemetry extension published

jubianchi commented 6 years ago

@vonglasow I just released the 1.0.0 ;)