Commit graph

424 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
5b999e6d79 Renaming and refactoring method for checking existence of PHPUnit test framework 2010-07-07 00:05:30 -04:30
José Lorenzo Rodríguez
feec7f9a98 Created a loadCase method in TestManager and changing visibility of some methods 2010-07-06 23:31:21 -04:30
José Lorenzo Rodríguez
cdf52a890f Adding a params var to the TestManager to hold through the lifecicle of the object 2010-07-06 23:19:37 -04:30
mark_story
a84db71895 Fixing comments in file. 2010-06-28 23:01:25 -04:00
mark_story
d7ff6cf244 Updating simpletest error page to reflect PHPUnit. 2010-06-28 22:59:01 -04:00
mark_story
5e79a450b8 Removing some more grouptest artifacts. 2010-06-28 22:44:13 -04:00
mark_story
ec04c4f7aa Removing CLI reporter. Its no longer used. 2010-06-28 22:42:52 -04:00
mark_story
cd8dff362d Merge branch '2.0-phpunit' into 2.0
Conflicts:
	cake/libs/controller/components/email.php
	cake/tests/cases/libs/cake_test_fixture.test.php
	cake/tests/cases/libs/controller/components/email.test.php
2010-06-28 22:31:35 -04:00
mark_story
16b7d3b156 Fixing assertIdentical wrapper as assertIdentical used to type check, much like assertSame does. 2010-06-27 22:48:30 -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
0baab93929 Doing some tweaks to CakeTestSuiteDispatcher to make CLI testing easier. 2010-06-26 13:48:11 -04:00
mark_story
3ebbaf106c Removing SimpleTest method calls. 2010-06-26 13:47:30 -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
929bb5769e Merge branch '1.3' into 2.0
Conflicts:
	app/webroot/index.php
	cake/console/templates/skel/webroot/index.php
	cake/libs/cake_session.php
	cake/libs/controller/components/email.php
	cake/libs/controller/scaffold.php
	cake/libs/model/datasources/dbo/dbo_oracle.php
	cake/libs/model/model_behavior.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/libs/controller/components/acl.test.php
	cake/tests/cases/libs/file.test.php
2010-06-26 12:29:20 -04:00
mark_story
747847e275 Moving restore_error_handler up into TestManager and out of CakeTestSuite. 2010-06-21 22:54:41 -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
535c92dee1 Updating Javascript group test to recommended usage.
Removing code from the TestManager.
2010-06-12 23:51:40 -04:00
mark_story
6300027a87 Adding a condition for the fixture creation so it doesn't cause errors. 2010-06-12 23:31:36 -04:00
mark_story
86eb46ca87 Fixing path location for group tests. 2010-06-12 23:31:08 -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
José Lorenzo Rodríguez Urdaneta
4021095422 Migrating TestManager test to phpunit 2010-06-10 21:59:03 -04:30
José Lorenzo Rodríguez Urdaneta
bfb023f581 Removing unused methods and documenting fixtures property 2010-06-10 21:28:22 -04:30
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
d27381f3a2 Adding skipUnless compatibility method. 2010-06-09 17:07:17 -04:00
mark_story
bca3c4ab38 Moving init() tests into separate test methods.
Adding tests for table prefixes on models being used as imports.
Fixing issue where tablePrefix was not accurately used when importing model information.  Fixes #765
2010-06-08 23:30:57 -04:00
José Lorenzo Rodríguez
d573be16c5 Adding compatibility method assertNotIdentical 2010-06-04 23:27:05 -04:30
José Lorenzo Rodríguez
c4b35ebc14 Fixing CakeFixtureManager::loadSingle to create the table if not exists 2010-05-31 23:49:18 -04:30
José Lorenzo Rodríguez
82da9be2ce Fixing issue with fixtures not being unloaded if the test method throws exceptions or fails in some unexpected way 2010-05-31 23:07:21 -04:30
José Lorenzo Rodríguez
3586626833 Merge branch '2.0-phpunit' of github.com:cakephp/cakephp into 2.0-phpunit 2010-05-31 21:15:10 -04:30
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
José Lorenzo Rodríguez
a737b77a89 Fixing bridged method assertIdentical. The corrent interpretetion in PHPUnit was assertEquals and not assertSame, as the former is to assert references to the same object 2010-05-26 23:22:58 -04:30
mark_story
e4ccaba3e0 Adding a filter GET parameter which allows you filter which test methods get run. It accepts preg_match() compatible patterns. 2010-05-26 22:21:34 -04:00
mark_story
326f33f9c6 Adding wrapper for assertIsA() assertion in simpletest. 2010-05-22 13:09:17 -04:00
mark_story
0759c0b462 Removing trailing whitespace. 2010-05-20 22:49:50 -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
d3837ba7b0 Merge branch '2.0-phpunit' of git@github.com:cakephp/cakephp into 2.0-phpunit 2010-05-17 22:37:12 -04:30
José Lorenzo Rodríguez
d7803dc7bf Implementing skipped tests message in html reporter 2010-05-17 22:31:22 -04:30
mark_story
6c2fe39bc0 Changing how the cursor appears. 2010-05-16 12:34:39 -04:00
Mark Story
67e32e292d Additional refactoring in the coverage classes. 2010-05-13 21:51:59 -04:00
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
Juan Basso
db4f7a2625 Fixing search of test cases and groups for PHP 5.2. 2010-05-13 18:48:34 -03: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
c1dc753be5 Replacing call of static:: for self as it is php 5.3 specific 2010-05-13 00:08:35 -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