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

Web services unit tests for external functions and for ws services servers

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • Web Services
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Difficult

    Description

      We don't have a way to test web services automatically yet. Unit tests would need to be written.

      We need to make difference between two things:

      • test of external functions: external functions mainly are subjected to problems during validation against the ws description. There is also sometime some code around the core functions calls that require testing too.
      • test of web service servers: we would need to emulate a client. Here we want to test the problems coming from the server layer, all communication problem. Specially responses that are most commonly to be a problem.

      Do we need two different unit tests ?

      What is the unit tests status in Moodle 2.0? Are we moving to PHP Unit?

      Attachments

        Activity

          People

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Nobody Nobody
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25/Dec/10