Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Unit tests
-
Labels:None
-
Difficulty:Moderate
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
Since some months ago we have "old" FakeDBUnitTestCase disabled. Also UnitTestCaseUsingDatabase aren't executed if test-prefix isn't set.
That leads to a bunch of tests of those types not being performed without further notification.
Is it possible to add debugging/notification or whatever there, both to FakeDBUnitTestCase and UnitTestCaseUsingDatabase, in order to get some visual feedbak about each skipped test? Something like:
- FakeDBUnitTestCase: deprecated, needs conversion to UnitTestCaseUsingDatabase
- UnitTestCaseUsingDatabase: skipped, set the testprefix
Right now it's skipping way too much (portfolio, completion...) to be acceptable.
Ciao ![]()
Good idea. I agree in principle, but I don't have time to do anything about it.