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

Create cli script for web service unit tests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 2.0.3, Future Dev
    • Web Services

      Eloy said (http://tracker.moodle.org/browse/MDL-27565?focusedCommentId=112452&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-112452):

      "I think we need some automated script (CLI?) or function in PHP that, once executed, it sets all the WS required configuration in order to run all the WS tests.

      Do you think that is possible, I'd be happy if doing something like:

      admin/cli/install.php
      admin/cli/generator.php --prepare_for_ws_testing

      we could run all the unittests quickly.

      Note it can be generator.php or any new cli script, that was just one suggestion."

      It seems to me very possible. If we had a web service test site that run web service unit test every hour, get reset and alert on fail, it would be great.

            Unassigned Unassigned
            jerome Jérôme Mouneyrac
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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