-
Bug
-
Resolution: Fixed
-
Major
-
3.9.13, 3.10.10, 3.11.6, 4.0, 4.1
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE
-
This was already reported @ MDL-72701, don't remember if it's a regression of ot or pre-existing.
When the phpunit.xml files are generated, for coverage purposes the union of some "defaults" and the contents of the coverage.php files are joined.
But it's possible that some of the entries, say lib.php for example, are both part of the default and part of the coverage.php file.
When that happens... the phpunit.xml generated file has TWO <file>lib.php</file> entries. Same applies to directories. Both in the include and exclude sections.
While it doesn't have any negative effect, phpunit coverage seems immune to dupes... it would be nice if we can guarantee the uniqueness of the information in the phpunit.xml generated files.
Not critical at all (zero impact), but cosmetically interesting IMO. :-D
Ciao
- Discovered while testing
-
MDL-72701 Expand unit test coverage defaults
- Closed