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

Add atoum telemetry report - #63

Open
vonglasow wants to merge 2 commits into
hoaproject:masterfrom
vonglasow:telemetry
Open

Add atoum telemetry report#63
vonglasow wants to merge 2 commits into
hoaproject:masterfrom
vonglasow:telemetry

Conversation

@vonglasow

Copy link
Copy Markdown
Member

related to #62

Comment thread .atoum.php Outdated
$report = new Hoa\Test\Report\Cli\Cli();
$runner->addReport($report->addWriter(new atoum\writers\std\out()));

// Add telemetry reporting

Copy link
Copy Markdown
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

Hywan commented Jun 6, 2016

Copy link
Copy Markdown
Member

Why is a WIP? What is missing?

@vonglasow

Copy link
Copy Markdown
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

Hywan commented Jun 6, 2016

Copy link
Copy Markdown
Member

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

@Hywan

Hywan commented Jul 5, 2016

Copy link
Copy Markdown
Member

ping?

@Hywan

Hywan commented Oct 14, 2016

Copy link
Copy Markdown
Member

What about now :-)?

@vonglasow

Copy link
Copy Markdown
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

vonglasow commented Feb 24, 2017

Copy link
Copy Markdown
Member Author
  • need to resolve conflict

@vonglasow

vonglasow commented Feb 28, 2017

Copy link
Copy Markdown
Member Author
  • Waiting for publication of telemetry-extension on packagist.

@Hywan

Hywan commented Aug 16, 2017

Copy link
Copy Markdown
Member

@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

Hywan commented Oct 3, 2017

Copy link
Copy Markdown
Member

@vonglasow

Copy link
Copy Markdown
Member Author

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

Comment thread .atoum.php Outdated
$runner->addReport($coverallsReport);
}

$telemetry = new mageekguy\atoum\reports\telemetry();

Copy link
Copy Markdown
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).

Comment thread .atoum.php Outdated

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here.

Comment thread .atoum.php Outdated
}

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

Copy link
Copy Markdown
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
Copy Markdown
Member Author

oki I process your feedback during my lunch

@vonglasow

Copy link
Copy Markdown
Member Author

@Hywan to review and done.

Comment thread .atoum.php
$runner->addReport($coverallsReport);
}

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

Copy link
Copy Markdown
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