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

Debugging output in the middle of phpunit (windows) test

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • 4
    • Team Omega 4.1 Sprint 0.1, Team Omega 4.1 Sprint 0.2

      Was running tests under windows when, apart from a couple of problems that are already reported, this debugging was shown in the middle of the process (and not detected as a problem):

      Debugging: Error while compiling SCSS: Coding error detected, it must be fixed by a programmer: Error: File to import not found or unreadable: fontawesome.
              on line 90 of stdin
      >> @import "fontawesome";
       
         ^
       
      * line 1458 of \lib\outputlib.php: call to debugging()
      * line 1212 of \lib\outputlib.php: call to theme_config->get_css_content_from_scss()
      * line 49 of \theme\classic\tests\scss_test.php: call to theme_config->get_css_content_debug()
      * line 1154 of \vendor\phpunit\phpunit\src\Framework\TestCase.php: call to theme_classic_scss_testcase->test_scss_compilation_with_sassc()
      * line 842 of \vendor\phpunit\phpunit\src\Framework\TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
      * line 80 of \lib\phpunit\classes\advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
      * line 693 of \vendor\phpunit\phpunit\src\Framework\TestResult.php: call to advanced_testcase->runBare()
      * line 796 of \vendor\phpunit\phpunit\src\Framework\TestCase.php: call to PHPUnit\Framework\TestResult->run()
      * line 746 of \vendor\phpunit\phpunit\src\Framework\TestSuite.php: call to PHPUnit\Framework\TestCase->run()
      * line 746 of \vendor\phpunit\phpunit\src\Framework\TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
      * line 746 of \vendor\phpunit\phpunit\src\Framework\TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
      * line 652 of \vendor\phpunit\phpunit\src\TextUI\TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
      * line 206 of \vendor\phpunit\phpunit\src\TextUI\Command.php: call to PHPUnit\TextUI\TestRunner->doRun()
      * line 162 of \vendor\phpunit\phpunit\src\TextUI\Command.php: call to PHPUnit\TextUI\Command->run()
      * line 61 of \vendor\phpunit\phpunit\phpunit: call to PHPUnit\TextUI\Command::main()
      

      Link to complete run: https://pastebin.com/RyjV5ps4

            lameze Simey Lameze
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 54 minutes
                1d 54m

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