Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51236

phpunit unable to test with per-component phpunit.xml on some components

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.7, 2.9.1
    • Fix Version/s: 2.8.8, 2.9.2
    • Component/s: Unit tests
    • Labels:

      Description

      build_component_config_files() builds XML with testsuite name of:

      @component@
      

      In some cases, the component name is also a class name - e.g. cachestore_static.

      Need to update it to:

      @component@_testsuite
      

      This is what we do elsewhere in build_config_file()

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/15