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

Improve unit test re-run hints on cygwin

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3.2, 2.4
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      1/ execute phpunit in cygwin - no changes expected
      2/ bump up main version - expected unix path in init hint
      2/ break some test and execute again - expected unix path in reexecution hint

      Show
      1/ execute phpunit in cygwin - no changes expected 2/ bump up main version - expected unix path in init hint 2/ break some test and execute again - expected unix path in reexecution hint
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w28_MDL-34147_m24_cygwin

      Description

      When using cygwin you need

      1. to run phpunit.bat, instead of phpunit.

      2. to use the proper path separator /, instead of \. (This also affects git bash users on Windows.)

      It would be good to fix Hint_ResultPrinter so that it outputs the right commands for cygwin users.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Michael de Raadt
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/12