Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36702 PHPUnit improvements 2.4 META
  3. MDL-36031

add message redirection in phpunit tests

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Unit tests

      Description

      The idea is to redirect messaging to some kind of buffer instead of standard messaging plugins, this would allow unit testing of code that is supposed to send messages.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Aparup Banerjee
              Tester:
              Tim Barker
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12