José Lorenzo Rodríguez
3f881aee35
Fixing message for completed test cases
2010-05-17 23:44:08 -04:30
José Lorenzo Rodríguez
d7803dc7bf
Implementing skipped tests message in html reporter
2010-05-17 22:31:22 -04:30
Mark Story
9303de936e
Fixing fatal error trying to run coverage on the coverage reporter.
...
Removing old CodeCoverageManager implementation.
2010-05-13 21:44:30 -04:00
José Lorenzo Rodríguez
01e36ce2c4
Improving compatobility method detection in paintError, so the failing line and method is correctly pointed out in the reporter
2010-05-13 00:48:03 -04:30
José Lorenzo Rodríguez
3e3817f113
Merge commit 'mark/2.0-coverage' into 2.0-phpunit
...
Conflicts:
cake/tests/lib/reporter/cake_html_reporter.php
2010-05-13 00:05:30 -04:30
José Lorenzo Rodríguez
8c3df122eb
Merge commit 'lorenzo/2.0-phpunit' into 2.0-phpunit
...
Conflicts:
cake/tests/lib/reporter/cake_html_reporter.php
cake/tests/lib/test_manager.php
2010-05-12 23:58:56 -04:30
Mark Story
17f338a9b2
Moving methods up into CakeBaseReporter.
...
Starting to make CakeTextReporter work well with PHPUnit so the Text code coverage reporting can be implemented.
2010-05-13 00:18:22 -04:00
predominant
8f880731c6
Removing closing PHP tags.
2010-05-11 08:27:28 +10:00
Mark Story
ac318faf5a
Switching back to using non raw code coverage data as it has been filtered by phpunit's filters. combining the data from phpunit into a singular cohesive report.
2010-05-09 02:08:32 -04:00
Mark Story
75d7146bd0
Updating code coverage tools to use raw data which includes dead and uncovered line data.
2010-05-09 01:15:57 -04:00
Mark Story
ccf5601a69
Updating coverage report initialization.
2010-05-08 18:12:03 -04:00
Mark Story
fd073809d0
Removing references to non phpunit code coverage parsing.
...
Adding stub of new code coverage report generator.
Updating related files.
2010-05-08 17:14:47 -04:00
Mark Story
507c3b2d94
Adding the CakePHP testing classes to the coverage ignore filter for PHPUnit. Starting to refactor how coverage is generated, to use more features of PHPUnit.
2010-05-08 16:18:45 -04:00
Mark Story
e7ff0bdf66
Adding missing parameters to assertEqual() wrapper.
...
Adding assertNotEqual() wrapper.
Adding expectError() but it doesn't work because of Debugger's error handler being set.
Fixing fatal error where getDescription would not be defined.
2010-05-08 11:42:04 -04:00
José Lorenzo Rodríguez
bed87b87c6
Removing code from CakeTestCase around the method "testAction" which was a bad way of testing controllers, often making it more difficult.
...
This also removes class contamination in newly created test cases
2010-05-05 22:42:56 -04:30
José Lorenzo Rodríguez
4a152d3d55
Adding number of assertion runned in html reporter
...
enabling "show passes" (that in contrast of simpletest only reports the passed test method instead of the assertion)
cleaning up a bit
2010-05-04 16:31:03 -04:30
José Lorenzo Rodríguez
9afbeaa217
Converting CakeHtmlReporter in a TestCase listener.
...
this apparently shows that it is easy to make the transition to PHPUnit.
2010-05-04 13:51:25 -04:30
Mark Story
dc08aedb44
Fixing constructors for reporter classes.
2010-05-02 17:54:49 -04:00
Mark Story
adf604a966
Merge branch '1.3' into 2.0
...
Conflicts:
cake/console/templates/default/actions/controller_actions.ctp
cake/console/templates/default/views/form.ctp
cake/console/templates/default/views/index.ctp
cake/console/templates/default/views/view.ctp
cake/libs/controller/controller.php
cake/libs/controller/scaffold.php
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/cake_schema.test.php
2010-05-02 17:53:42 -04:00
Mark Story
c404ae5400
Adding htmlentities() to all parameters passed into the HtmlReporter.
2010-04-22 23:36:20 -04:00
Mark Story
7705c404ee
Fixing / adding visibility.
...
Removing DS usage as its not needed in php5.
Removing reference operators.
2010-04-14 23:24:44 -04:00
Mark Story
79eeb33e35
Fixing constructors
...
Adding method visibility.
Removing reference operators.
2010-04-14 22:56:51 -04:00
predominant
50a547167b
Changing protected methods to specify protected access.
2010-04-05 13:21:28 +10:00
predominant
1497ec3910
Changed all public methods to specify public access.
2010-04-05 13:19:38 +10:00
Phally
7f7315e6d2
Added alphabetic sorting to the plugin list in the test suite.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 17:48:03 -04:00
Mark Story
cdd87849cc
Fixing @link tags to ease merging.
2010-01-26 17:03:03 -05:00
Mark Story
3dad64c9c0
Moving buffer start in CakeHtmlReporter to fix errors when displaying menus.
...
Adding paintDocumentStart() to CakeTextReporter::paintHeader() to fix issues with test results not being text/plain.
2010-01-10 13:05:35 -05:00
Mark Story
a0aca7ee62
Adding output buffering to htmlreporter fixing issues with tests that send headers like Dispatcher test.
2010-01-10 12:34:55 -05:00
Mark Story
03da53bb92
Correcting classname used in CodeCoverageManager
...
Moving CodeCoverageManager::report() to be inside the html document.
2010-01-09 22:35:29 -05:00
Mark Story
5a10e52d1f
Updating package strings for reporters
2010-01-09 19:37:37 -05:00
Mark Story
e061a53358
Removing CakeTestMenu as its been made obsolete.
...
Removing constant use from reporter.
2010-01-09 11:25:35 -05:00
Mark Story
bdc84cd5d0
Renaming paintDocumentHeader to paintDocumentStart
...
Renaming paintDocumentFooter to paintDocumentEnd
Moving features from CakeTestMenu, HtmlTestManager, and TextTestManager into the appropriate Reporters.
2010-01-09 11:20:47 -05:00
Mark Story
c529d3c6e9
Refactoring test case list output generation into Reporters.
2010-01-09 10:55:58 -05:00
Mark Story
a0f5d0fc02
Renaming menu template file.
...
Refactoring logic from CakeTestMenu into the Reporters.
2010-01-06 23:02:37 -05:00
Mark Story
4c0d90c502
Adding paintDocumentFooter and paintDocumentHeader to CakeBaseReporter and CakeHtmlReporter.
...
Refactoring case list and group lists to use reporter methods.
2010-01-06 22:52:04 -05:00
Mark Story
c01276a470
Moving header and menu display into CakeHtmlReporter.
...
Updating header.php with new variable.
2010-01-06 22:42:35 -05:00
Mark Story
b6e22704ed
Refactoring and updating footer element to use param based basePath.
...
Moving footer inclusion to CakeHtmlReporter.
2010-01-06 09:50:39 -05:00
Mark Story
3c57dbee04
Refactoring methods from CakeTestMenu into CakeHtmlReporter.
...
Updating CakeTestSuiteDispatcher to reflect removed methods.
2010-01-05 22:20:32 -05:00
Mark Story
f228990c58
Updating doc blocks.
2010-01-05 20:56:25 -05:00
Mark Story
faafe5a0dc
Removing use of Set::filter(). Coupling the test suite to Set is not a good idea.
2010-01-05 20:52:22 -05:00
Mark Story
1d63d52d3c
Updating @link properties and spacing.
2010-01-05 20:44:15 -05:00
Mark Story
0d7875f4ad
Extracting methods and features out into CakeBaseReporter.
2010-01-05 20:29:08 -05:00
Mark Story
5bd9734f96
Moving reporters to a directory and updating CakeTestSuiteDispatcher.
2010-01-05 20:10:41 -05:00