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

PHPunit command-line options --debug --colors and --verbose ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.3.2
    • 2.3.1, 2.4
    • Unit tests

    Description

      I don't know if this is bugs in our code, or in core PHP unit. Anyway, these options should do useful things. E.g. --debug outputs the name of each test before running it, which is helpful when you get weird crashes, but adding that has no effect when running the Moodle tests.

      I think this may acutally be a core PHPunit bug. If you look at https://github.com/sebastianbergmann/phpunit/blob/master/PHPUnit/TextUI/Command.php#L740, it does not pass any of the options to the printer class constructor, and I cannot see any other way for those options to be set.

      Attachments

        Activity

          People

            skodak Petr Skoda (Inactive)
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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