Permalink
Browse files

Test suite should display current PHPUnit version.

Fixes #2316
  • Loading branch information...
1 parent 6d269ce commit 73de68f5f484dc32e3667491d96dff7a78ae8acf @dereuromark dereuromark committed with markstory Nov 29, 2011
Showing with 8 additions and 1 deletion.
  1. +7 −0 lib/Cake/TestSuite/templates/header.php
  2. +1 −1 lib/Cake/TestSuite/templates/phpunit.php
@@ -127,12 +127,19 @@
div.code-coverage-results span.result-bad { color: #a00; }
div.code-coverage-results span.result-ok { color: #fa0; }
div.code-coverage-results span.result-good { color: #0a0; }
+
+ div#version {
+ padding-top: 2px;
+ float: right;
+ padding-left: 20px;
+ }
</style>
<link rel="stylesheet" type="text/css" href="<?php echo $baseDir; ?>css/cake.generic.css" />
</head>
<body>
<div id="container">
<div id="header">
+ <div id="version">PHPUnit: <?php echo class_exists('PHPUnit_Runner_Version') ? PHPUnit_Runner_Version::id() : 'n/a'; ?></div>
<h1>CakePHP: the rapid development php framework</h1>
</div>
<div id="content">
@@ -28,7 +28,7 @@
<li><code>pear channel-discover pear.phpunit.de</code></li>
<li><code>pear channel-discover components.ez.no</code></li>
<li><code>pear channel-discover pear.symfony-project.com</code></li>
- <li><code>pear install phpunit/PHPUnit-3.5.15</code></li>
+ <li><code>pear install phpunit/PHPUnit-3.6.4</code></li>
</ul>
<p>For full instructions on how to <a href="http://www.phpunit.de/manual/current/en/installation.html">install PHPUnit, see the PHPUnit installation guide</a>.</p>
<p><a href="http://github.com/sebastianbergmann/phpunit" target="_blank">Download PHPUnit</a></p>

0 comments on commit 73de68f

Please sign in to comment.