The method getTests is no longer supported. You can use filters instead. The
web test runner now takes an additional query string parameter that allows you
to specify a basic regular expression. This regular expression is used to
restrict the methods that are run:

e.g.filter=myMethod

Only tests containing the string myMethod will be run on the next refresh.
The cake test shell also supports a –filter option to filter methods.

Many of the assertion methods have slightly different names between PHPUnit and
SimpleTest. Where possible CakeTestCase provides a wrapper for the
SimpleTest method names. These compatibility wrappers will be removed in 2.1.0.
The following methods will be affected.

assertEqual -> assertEquals

assertNotEqual -> assertNotEquals

assertPattern -> assertRegExp

assertIdentical -> assertSame

assertNotIdentical -> assertNotSame

assertNoPattern -> assertNotRegExp

assertNoErrors -> no replacement

expectError -> setExpectedException

expectException -> setExpectedException

assertReference -> assertSame

assertIsA -> assertType

Some methods take their arguments in different orders, be sure to check the
methods you are using when updating them.

Mock objects are dramatically different between PHPUnit and SimpleTest. There is
no compatibility wrapper between them. Updating mock object usage can be a
painful process but we hope the following tips help you in your migration. It’s
highly recommended you familiarize yourself with the PHPUnit Mock object
documentation.

Group tests have been removed as PHPUnit treats individual test cases and test
suites as composable entities in the runner. You can place group tests inside
the cases directory and use PHPUnit_Framework_TestSuite as a base class. An
example Testsuite would look like: