2017 © Pedro Peláez
 

library telemetry-extension

atoum telemetry reports extension

image

atoum/telemetry-extension

atoum telemetry reports extension

  • Sunday, March 4, 2018
  • by agallou
  • Repository
  • 6 Watchers
  • 2 Stars
  • 30,969 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 51 % Grown

The README.md

atoum telemetry extension Build Status

atoum, (*1)

Install it

Install extension using composer:, (*2)

{
    "require-dev": {
        "atoum/telemetry-extension": "^1.0"
    }
}

Or simply run the following command, (*3)

composer require --dev atoum/telemetry-extension

The extension will then be autoloaded by atoum, the only thing you will have to do is to configure the report., (*4)

Use it

The telemetry report allow us to collect metrics from your test suites. If you want to help us improve atoum, please send us your reports., (*5)

To enable the telemetry report, add the following code to your configuration file:, (*6)

<?php

// .atoum.php

use mageekguy\atoum\telemetry;
use mageekguy\atoum\reports\telemetry;
use mageekguy\atoum\writers\std;

$script->addDefaultReport();

$telemetry = new telemetry\report();
$telemetry->addWriter(new std\out());
$runner->addReport($telemetry);

Now, each time your run your test suite, atoum will collect data and send them to the telemetry. By default, everything is sent anonymously: a random project name will be generated and we'll only collect metrics., (*7)

If you want to let us know who you are, add the following lines to your configuration file:, (*8)

<?php 

$telemetry->readProjectNameFromComposerJson(__DIR__ . '/composer.json');

// Or

$telemetry->setProjectName('my/project');

The project name must be composer compliant., (*9)

With this configuration, atoum will send us everything about your project: the vendor name and the project name. If you want to keep the latter secret so we only collect the vendor name, you can add the following line:, (*10)

<?php

$telemetry->sendAnonymousProjectName();

The Versions

04/03 2018

dev-master

9999999-dev http://www.atoum.org

atoum telemetry reports extension

  Sources   Download

BSD BSD-3-Clause

The Requires

 

The Development Requires

by Avatar jubianchi

tdd test unit testing reports atoum atoum-extension telemetry

03/10 2017

1.0.0

1.0.0.0 http://www.atoum.org

atoum telemetry reports extension

  Sources   Download

BSD

The Requires

 

The Development Requires

by Avatar jubianchi

tdd test unit testing reports atoum atoum-extension telemetry