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

phpunit support - stage 1

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.3
    • 2.2
    • Unit tests

      Basic support for phpunit testing:

      • bootstart file - must be used in "-c" parameter or in xml config file - see phpunit.xml.dist
      • initialisation of separate database and dataroot - see config-dist.php, use admin/tool/phpunit/cgi/util.php
      • basic_testcase for tests that do not modify database - it detects changes in CFG, USER and database (resets them if necessary)
      • documentation is in lib/phpunit/readme.md

        1. cvs.php
          5 kB
        2. git.php
          3 kB
        3. phpunit.class.php
          3 kB

            skodak Petr Skoda
            skodak Petr Skoda
            Sam Hemelryk Sam Hemelryk
            Tim Barker Tim Barker
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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