-
Task
-
Resolution: Duplicate
-
Critical
-
None
-
2.0
-
MOODLE_20_STABLE
-
Difficult
Some months ago FakeDBUnitTestCase were left nominally out. With that, an important number of tests have remained "hidden" (skipped) since then.
Since yesterday (Nov 30th 2009), due to MDL-21007, they are, at least, showed as exceptions when running unit tests with message:
"Unit test XXXX of type FakeDBUnitTestCase no longer supported. Must be migrated to UnitTestCaseUsingDatabase"
So current tests in core using FakeDBUnitTestCase must be migrated to newer UnitTestCaseUsingDatabase alternative. That includes, at least:
- grade tests
- portfolio tests
- completion and condition tests
- simpletest tests
So steps are:
- Migrate all the tests
- Document UnitTestCaseUsingDatabase
- Drop FakeDBUnitTestCase completely from HEAD
- duplicates
-
MDL-32400 phpunit support - stage 4
-
- Closed
-
- has a non-specific relationship to
-
MDL-18607 The fact that unit tests involving the database have been disabled it obstructing my work
-
- Closed
-
-
MDL-21007 FakeDBUnitTestCase and UnitTestCaseUsingDatabase are being silently skipped
-
- Closed
-
- is blocked by
-
MDL-21038 update portfolio tests to work with the new mock db stuff in HEAD and write new ones for leap2a
-
- Closed
-