-
Bug
-
Resolution: Unresolved
-
Low
-
None
Simon discovered in MDL-39572 that we had some dml tests which weren't being run because the method was not prefixed with test_ as required by phpunit.
This issue is to see if we could detect this on the CI server.
This is tricky/perhaps impossible because there are often utility methods, but one technique could be to search for methods with assertions in them and warn about it (even if there are exceptions, we could have a list of them and deafult assume all methods with assertions should be tests).
- Discovered while testing
-
MDL-41401 Misnamed method backup_base_optigroup_testcase::itest_wrong_creation
-
- Closed
-
- has a non-specific relationship to
-
MDLSITE-2197 Detect tests in files not named _test.php
-
- Open
-
- Testing discovered
-
MDL-39572 sql_order_by_text() definition wrong for MSSQL/sqlsrv
-
- Closed
-