mark_story
8c2e0815ec
Adding Fixture manager overriding.
...
Refs #1511
2011-02-13 14:56:34 -05:00
mark_story
5a631a6c74
Renaming the runner.
...
Making the runner extend PHPUnit_TextUi_TestRunner so we can customize the TestSuite classes it uses.
Adding CakeTestSuiteCommand so we can customize the TextUI_Command output.
2011-02-13 14:56:33 -05:00
mark_story
60590de6bc
Starting to banish TestManager, and replace it with a more normal PHPUnit test loader.
2011-02-13 14:56:33 -05:00
mark
e16d21eaa3
Add displayField and primaryKey to controller bake. Fixes #1192
...
Signed-off-by: mark_story <mark@mark-story.com>
2011-02-12 11:47:38 -05:00
mark_story
e149c411fb
Merge branch '1.3' into merger
...
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/console/shells/tasks/template.php
cake/dispatcher.php
cake/libs/controller/component.php
cake/libs/controller/components/email.php
cake/libs/controller/scaffold.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/view/helpers/cache.php
cake/libs/view/pages/home.ctp
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/fixtures/datatype_fixture.php
2011-02-05 12:20:09 -05:00
mark_story
8e267f7be2
Fixing bake's unit test detection so it checks for PHPUnit properly.
...
Fixes #1505
2011-02-04 21:56:24 -05:00
Juan Basso
6181db0ff2
Removing unsupported databases natively.
2011-01-19 00:06:51 -02:00
mark_story
443f6d1c5b
Merge branch '1.3' into merger
...
Conflicts:
cake/console/shells/tasks/test.php
cake/libs/cake_log.php
cake/libs/controller/components/email.php
cake/libs/set.php
cake/libs/view/helpers/cache.php
cake/libs/view/helpers/paginator.php
cake/libs/view/helpers/time.php
cake/libs/view/view.php
cake/tests/cases/console/libs/tasks/fixture.test.php
cake/tests/cases/console/shells/tasks/test.test.php
cake/tests/cases/libs/controller/components/email.test.php
cake/tests/cases/libs/model/db_acl.test.php
cake/tests/cases/libs/set.test.php
2011-01-08 23:49:19 -05:00
mark_story
2e0f2c75f4
Fixing issue where ClassRegistry would not be loaded when using Models
...
in shells. Fixes #1417
2010-12-29 10:44:15 -05:00
mark_story
2385d9c79a
Updating console class @package tags.
2010-12-24 14:26:26 -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
f84871ae47
Fixing strict errors that were causing shell tests to fail.
...
Fixing test case for bake test that has been getting skipped.
2010-12-12 20:55:33 -05:00
mark_story
c096eea664
Fixing failing tests caused by constants changing.
2010-12-05 23:32:34 -05:00
José Lorenzo Rodríguez
c559b9c22d
Merge remote branch 'origin/2.0' into 2.0
...
Conflicts:
cake/console/templates/skel/config/database.php.default
cake/libs/model/datasources/dbo/dbo_sqlite.php
2010-12-05 20:51:37 -04:30
Juan Basso
c52d5320c8
Replaced the *printf with i18n aliases by i18n aliases with params.
2010-12-04 23:37:13 -02:00
José Lorenzo Rodríguez
7c4ab886e6
Merge remote branch 'origin/2.0' into feature/2.0/pdo
2010-12-03 14:08:03 -04:30
José Lorenzo Rodríguez
2e04c5260e
Fixing some tests to make them run on sqlite
2010-12-02 00:19:43 -04:30
Mark Story
43c184b2d2
Fixing issues with CLI test runner where the error handler would continue to be cakephp's instead of PHPUnit's.
2010-11-28 21:05:12 -05:00
José Lorenzo Rodríguez
b6731dd9ad
Merge remote branch 'origin/2.0' into feature/2.0/pdo
...
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
2010-11-26 20:26:41 -04:30
mark_story
fdcfd03340
Fixing typo that prevented html coverage reports from being generated.
2010-11-21 23:02:28 -05:00
mark_story
d7b1f70680
Adding some additional output to bake tasks to make them more consistent. Adding flags for Quiet output so the shells give minimal output.
2010-11-21 12:55:01 -05:00
mark_story
d373dde2ef
Fixing notice errors in bake all.
...
Moving some message printing around.
2010-11-21 12:22:44 -05:00
mark_story
8a129ec3a0
Adding a normalize parameter to Object::_mergeVars(). This allows existing behavior to be maintained.
...
Updating Controller and Shell usage to match new parameters.
2010-11-21 00:47:42 -05:00
mark_story
8821bec049
Moving _mergeVars() into Object as its common to Controller, Model and Shell.
2010-11-21 00:14:29 -05:00
mark_story
b80535573e
Adding _mergeVars to Shell. This allows $tasks and $uses to work much
...
like $uses in Controllers, and provides consistency in the framework.
Adding tests for merging vars.
2010-11-21 00:12:07 -05:00
mark_story
a8554df077
Fixing call to a help method that doesn't exist.
2010-11-21 00:12:07 -05:00
mark_story
0d7ecea6cb
Adding AppShell to the ignored shell list in CommandListShell.
2010-11-21 00:12:06 -05:00
mark_story
b914709f32
Moving AppShell to where the other shells live.
2010-11-21 00:12:06 -05:00
José Lorenzo Rodríguez
f2b707ac0b
Merge remote branch 'origin/2.0' into feature/2.0/pdo
...
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
2010-11-16 21:54:42 -04:30
mark_story
9b08b725fe
Merge branch '2.0' into 2.0-view
...
Conflicts:
cake/libs/controller/controller.php
cake/libs/view/helpers/cache.php
2010-11-13 21:03:54 -05:00
mark_story
18bb5f6b8b
Removing =& operators for construction of objects.
2010-11-12 23:05:44 -05:00
mark_story
23c69b2bfb
Adding an import, as I hit an error when trying to bake tests for models.
2010-11-07 13:23:43 -05:00
José Lorenzo Rodríguez
1c37751038
Adding missign option to testsuite shell
2010-11-03 19:41:17 -04:30
José Lorenzo Rodríguez
a39adf213e
Adding missign option to testsuite shell
2010-11-03 19:40:48 -04:30
José Lorenzo Rodríguez
3b133a4142
Merge remote branch 'origin/2.0' into feature/2.0/pdo
2010-11-03 19:02:28 -04:30
José Lorenzo Rodríguez
224f65af05
Preventing bug in testsuite shell
2010-11-03 18:56:06 -04:30
José Lorenzo Rodríguez
557c5274e8
Making file argument optional in console testsuite in order to show complete list of test cases for a category
2010-11-03 01:27:37 -04:30
José Lorenzo Rodríguez
9afd4d7875
Fixing option parsing and help for testsuite after new console libraries merge
2010-11-03 01:25:27 -04:30
José Lorenzo Rodríguez
eedd823fd8
Merge remote branch 'origin/2.0' into feature/2.0/pdo
2010-11-03 00:23:18 -04:30
mark_story
bff711e2dc
Merge branch '2.0-console' into 2.0
...
Conflicts:
cake/console/shells/acl.php
cake/tests/cases/console/libs/tasks/plugin.test.php
2010-11-02 23:49:19 -04:00
mark_story
c9ca3c3785
Fixing path constants in DbConfig and FixtureTask to be more consistent between web and cli.
2010-11-02 23:25:36 -04:00
mark_story
fff8279c2b
Using patch from 'wals' to add generic exclude option to the ExtractTask. Allows you to exclude path segments from the generated PO files.
...
Fixes #1138
2010-10-29 00:40:04 -04:00
mark_story
558bd7e3c2
Adding a --sort param to view the command_list sorted in a different way.
...
Test cases added.
Fixes #574
2010-10-26 22:34:27 -04:00
mark_story
138482741f
Adding question style to ConsoleOutput.
...
Made Shell::in() draw as magenta text.
2010-10-24 17:58:44 -04:00
mark_story
6f29519f73
Making shells attach args and params by reference.
...
Adding test.
2010-10-24 15:47:07 -04:00
mark_story
0a022f1d81
Updating tasks to not rely on the dispatcher being available.
2010-10-24 15:27:44 -04:00
mark_story
5edb277111
Updating shells and shell tests for changes in __construct.
2010-10-24 15:11:30 -04:00
mark_story
ba17e2c9a0
Removing ShellDispatcher as a constructor argument for Shell.
...
Updating the AclShell test case.
2010-10-24 14:55:16 -04:00
mark_story
b22da5a3d1
Fixing missing parameter.
2010-10-23 00:36:40 -04:00
mark_story
e6ab0e22c7
Making schema shell work with app/console. No app prefix is needed.
2010-10-23 00:36:24 -04:00