Commit graph

96 commits

Author SHA1 Message Date
Mark Story
7b34d879dc Making exception class names visible in the WebTest runner. Fixes #1506 2011-02-04 17:11:49 -05:00
mark_story
ef77e60cb0 Removing @subpackage tags, moving contents of @subpackage into @package.
Removing duplicate cake.cake in @package tags.
Renaming cake.app -> app
2010-12-24 14:09:57 -05:00
mark_story
b9f0fc0724 Merge branch '1.3' into merger
Conflicts:
	cake/dispatcher.php
	cake/libs/cake_session.php
	cake/libs/controller/components/cookie.php
	cake/libs/controller/components/email.php
	cake/libs/controller/controller.php
	cake/libs/controller/scaffold.php
	cake/libs/set.php
	cake/libs/validation.php
	cake/libs/view/view.php
	cake/tests/cases/dispatcher.test.php
	cake/tests/cases/libs/controller/components/security.test.php
	cake/tests/cases/libs/controller/controller.test.php
	cake/tests/cases/libs/validation.test.php
	cake/tests/cases/libs/view/view.test.php
2010-12-10 22:24:31 -05:00
mark_story
8681399fc2 Forcing the plugin list to use a fresh directory listing in the web runner. Fixes #1338 2010-12-06 21:29:11 -05:00
Juan Basso
c52d5320c8 Replaced the *printf with i18n aliases by i18n aliases with params. 2010-12-04 23:37:13 -02:00
Mark Story
08e7bcb7ab Merge branch '1.3' into integration
Conflicts:
	app/config/core.php
	cake/console/libs/acl.php
	cake/console/templates/skel/config/core.php
	cake/console/templates/skel/webroot/test.php
	cake/dispatcher.php
	cake/libs/view/errors/missing_action.ctp
	cake/libs/view/helpers/form.php
	cake/tests/cases/libs/cache/memcache.test.php
	cake/tests/cases/libs/controller/controller.test.php
	cake/tests/cases/libs/log/file_log.test.php
	cake/tests/cases/libs/model/cake_schema.test.php
	cake/tests/cases/libs/router.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/groups/bake.group.php
	cake/tests/groups/behaviors.group.php
	cake/tests/groups/i18n.group.php
	cake/tests/groups/javascript.group.php
	cake/tests/lib/reporter/cake_cli_reporter.php
2010-10-31 21:56:59 -04:00
Graham Weldon
d3e0ddbb0e Update copyright years. 2010-10-25 07:58:22 +11:00
Juan Basso
deb20d4cf2 Fixed the PHPDoc. 2010-10-21 14:56:05 -02:00
Toni Uebernickel
b04f87f62d fixed E_NOTICE undefined variable in CakeCliReporter::paintException 2010-10-21 14:56:04 -02:00
mark_story
3ab77017ae Fixing OpenTest license mentions to use MIT License
Fixing PHP versions 4 and 5 to only be PHP5.
2010-10-03 12:31:21 -04:00
mark_story
b908365f9d Changing the @license tag on test files, as tests can now be MIT like
the rest of CakePHP.
2010-10-03 12:27:27 -04:00
José Lorenzo Rodríguez
9d35ea0cbc Upgrading CodeCoverage repoting fo phpunit 3.5 2010-09-29 01:14:14 -04:30
José Lorenzo Rodríguez
2635733aba Merge branch '2.0' into 2.0-phpunit-upgrade 2010-09-27 22:42:10 -04:30
José Lorenzo Rodríguez
ba168d1a72 Initial steps towards migrating to phpunit 3.5 2010-09-27 22:37:23 -04:30
Mark Story
2c7ef67e97 Fixing stupid output buffering error. 2010-09-03 10:22:58 -04:00
mark_story
e2fee17173 Adding an ob_end_flush() to clean up an unclosed buffer. 2010-08-16 23:34:43 -04:00
mark_story
1c1c4bef80 Fixing errors that would occur when call_user_func_array() triggered failures. 2010-08-10 23:18:37 -04:00
mark_story
2f1aa0a97f Making CakeHtmlReporter dump a stack trace when an exception is caught. 2010-07-27 22:27:43 -04:00
mark_story
766d7d50c6 Updating HtmlReporter so it doesn't make notice errors when printing stack traces. 2010-07-20 23:49:38 -04:00
mark_story
71af126171 Changing HtmlReporter to print out testname and stack trace instead of trying to guess where things went wrong. 2010-07-14 23:00:09 -04:00
mark_story
ec04c4f7aa Removing CLI reporter. Its no longer used. 2010-06-28 22:42:52 -04:00
mark_story
bbf5a051e0 Making CakeTextReporter work a little nicer in a CLI context.
Updating documentation on TestManager.
2010-06-26 13:48:55 -04:00
mark_story
f81497070d Fixing compatibility issues in CakeTextReporter that have come up. 2010-06-26 13:02:35 -04:00
mark_story
206d4d4722 Removing 'group tests' PHPUnit implements them as testsuites, which do not need to be handled differently than test cases. 2010-06-26 12:58:03 -04:00
mark_story
22baf7fd45 Fixing fatal errors that would arise if the Exception did not have a parent class. 2010-06-21 22:47:41 -04:00
mark_story
2c037c0bab Removing methods that are no longer called by PHPUnit. 2010-06-12 19:01:18 -04:00
mark_story
b2e61230ad Removing paintError() as it is no longer called.
Removing paintMethodStart() and paintMethodEnd() as they are no longer called and reference classes that no longer exist.
Implementing a skip printout for incomplete tests.
2010-06-12 18:55:27 -04:00
mark_story
b723b92211 Fixing issues where App test case list could not be viewed.
Removing protected methods that only had one caller.
2010-06-09 18:37:24 -04:00
mark_story
fc79dc6232 Merge branch '2.0' into 2.0-phpunit
Conflicts:
	cake/tests/cases/console/libs/tasks/controller.test.php
	cake/tests/cases/libs/code_coverage_manager.test.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/lib/code_coverage_manager.php
2010-05-30 22:13:09 -04:00
predominant
6a18b2bc1d Merge remote branch 'origin/1.3' into 2.0
Conflicts:
	cake/basics.php
	cake/console/libs/shell.php
	cake/console/libs/tasks/controller.php
	cake/libs/controller/components/request_handler.php
	cake/libs/model/model.php
	cake/libs/model/model_behavior.php
	cake/libs/overloadable.php
	cake/libs/overloadable_php4.php
	cake/libs/overloadable_php5.php
	cake/libs/sanitize.php
	cake/libs/validation.php
	cake/libs/view/helpers/ajax.php
	cake/libs/view/helpers/javascript.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/console/libs/tasks/controller.test.php
	cake/tests/cases/libs/overloadable.test.php
	cake/tests/cases/libs/validation.test.php
	cake/tests/cases/libs/view/helpers/ajax.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
	cake/tests/test_app/libs/cache/test_app_cache.php
	cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php
	cake/tests/test_app/plugins/test_plugin/models/test_plugin_auth_user.php
	cake/tests/test_app/plugins/test_plugin/models/test_plugin_post.php
2010-05-20 12:22:04 +10:00
Juan Basso
a94b9ee95b Update various links. Closes #392 2010-05-18 22:15:13 -03:00
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
Mark Story
e76c05b2b9 Merge branch '2.0-coverage' into 2.0-phpunit 2010-05-13 21:39:23 -04:00
Mark Story
5e29cfc21e Adding TextCoverageReport and extracting a base class.
Updating the coverage classes to use the new class structure.
2010-05-13 21:36:23 -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
predominant
1ec220dac2 Removing closing PHP tags. 2010-05-11 08:07:49 +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