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

        1. output-51236-m28.txt
          85 kB
          Marina Glancy
        2. output-51236-m29.txt
          86 kB
          Marina Glancy
        3. output-51236-master.txt
          75 kB
          Marina Glancy

          Activity

            People

            Assignee:
            dobedobedoh Andrew Nicols
            Reporter:
            dobedobedoh Andrew Nicols
            Peer reviewer:
            David Monllaó
            Integrator:
            Dan Poltawski
            Tester:
            Marina Glancy
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

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