-
Notifications
You must be signed in to change notification settings - Fork 41
/
howto_phpunit.php
30 lines (20 loc) · 1.61 KB
/
howto_phpunit.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
error_reporting(E_ALL);
include("include/functions.php");
$TITLE = "PHP: QA: PFTT";
$SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
common_header(NULL);
?>
<p><img src="howto_phpunit.png" /></p>
<p><strong>Application</strong> - Application tested (Symfony, Joomla-Platform, Drupal, Mediawiki, Wordpress)</p>
<p><strong>Scenario Set</strong> - Scenarios that are tested (CLI, Apache mod_php ; Opcache, Filesystem, etc...)</p>
<p><strong>ERROR</strong> - PhpUnit tests that finished with Error(s)</p>
<p><strong>FAILURE</strong> - PhpUnit tests that failed</p>
<p><strong>TIMEOUT</strong> - Tests that did not finish after the maximum amount of time passed (usually one minute)</p>
<p><strong>CRASH</strong> - Tests that Crashed PHP</p>
<p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in ERROR). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAILURE).</p>
<p><a href="https://github.com/php/pftt2/blob/master/src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java#L28-L230" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
<p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p>
<?php
common_footer();
?>