Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-4800

Decide upon unit test namespace rules


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • Integration
    • None

      Policy: Namespace uses within **/tests directories

      Since October 2019 (MDLSITE-4800), these rules apply to control the use of namespaces within **/tests/ directories:

      1. The use of namespaces is recommended in testing stuff.
      2. Their 1st level namespace will match 100% the component they belong to.
      3. Sub-namespaces are allowed, strictly following the general namespace rules in moodle (APIs and local).

      While I have been unable to find it, we have asked already a number of times for unit tests not to use namespaces. This is about try to ensure that's observed:


            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            0 Vote for this issue
            6 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.