Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Add atoum telemetry report #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vonglasow
Copy link
Member

related to #62

.atoum.php Outdated
@@ -7,3 +7,10 @@
$runner->addExtension(new mageekguy\atoum\visibility\extension($script));
$report = new Hoa\Test\Report\Cli\Cli();
$runner->addReport($report->addWriter(new atoum\writers\std\out()));

// Add telemetry reporting
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the comment, it's not really helpful :-].

@Hywan
Copy link
Member

Hywan commented Jun 6, 2016

Why is a WIP? What is missing?

@vonglasow
Copy link
Member Author

@jubianchi have talk about a specific extension for telemetry, The WIP is here to wait the new extension but if we keep this extension to use telemetry reporting everything is ok.

@Hywan
Copy link
Member

Hywan commented Jun 6, 2016

OK, so we are waiting to change reports-extension for telemetry-extension.

@Hywan
Copy link
Member

Hywan commented Jul 5, 2016

ping?

@Hywan
Copy link
Member

Hywan commented Oct 14, 2016

What about now :-)?

@vonglasow
Copy link
Member Author

Good question. The telemetry report is not yet available in stand alone version. We need to wait to have this version in single mode or we can use the current version which include a part of other libraries but I think is not really painful. The main goal is to add tests un telemetry so we can addit like that for now and see what is happening after the separation.

Thought ?

@vonglasow
Copy link
Member Author

vonglasow commented Feb 24, 2017

  • need to resolve conflict

@vonglasow
Copy link
Member Author

vonglasow commented Feb 28, 2017

  • Waiting for publication of telemetry-extension on packagist.

@Hywan
Copy link
Member

Hywan commented Aug 16, 2017

@vonglasow https://github.com/atoum/telemetry-extension is here. Maybe @jubianchi can publish it on Packagist?

@ghost ghost assigned vonglasow Oct 2, 2017
@vonglasow vonglasow changed the title WIP: Add atoum telemetry report Add atoum telemetry report Oct 2, 2017
@Hywan
Copy link
Member

Hywan commented Oct 3, 2017

@vonglasow
Copy link
Member Author

yes, just need to remove the -dev and it should be ok,

.atoum.php Outdated
@@ -40,3 +40,9 @@ function() use ($defaultFinder) {

$runner->addReport($coverallsReport);
}

$telemetry = new mageekguy\atoum\reports\telemetry();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use atoum directly (the alias is defined on top of the file).

.atoum.php Outdated

$telemetry = new mageekguy\atoum\reports\telemetry();
$telemetry->readProjectNameFromComposerJson(__DIR__ . '/composer.json');
$telemetry->addWriter(new mageekguy\atoum\writers\std\out());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

.atoum.php Outdated
@@ -40,3 +40,9 @@ function() use ($defaultFinder) {

$runner->addReport($coverallsReport);
}

$telemetry = new mageekguy\atoum\reports\telemetry();
$telemetry->readProjectNameFromComposerJson(__DIR__ . '/composer.json');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the composer.json file exists before adding the extension.

@vonglasow
Copy link
Member Author

oki I process your feedback during my lunch

@vonglasow
Copy link
Member Author

@Hywan to review and done.

@@ -40,3 +40,10 @@ function() use ($defaultFinder) {

$runner->addReport($coverallsReport);
}

if (file_exists($composerfile = __DIR__ . '/composer.json')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to always point to hoa/test?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants