Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9359

Display line numbers for failed assertions

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: Test suite
    • Labels:
      None

      Description

      Adds v3 tests to the PHPUNIT filter whitelist, so that the line number at which the test fails will be reported. (A more future-proof solution would be to move all test helper classes which are not themselves test classes to a subdirectory, and blacklist that dir only. That dir could be tests/phpunit/CiviTest, and I think the only helper class not already there is Utils.php, but maybe I am missing something.)

        Attachments

        1. phpunit_whitelist.patch
          0.6 kB
          Tisza Gergő
        2. phpunit_whitelist.patch
          0.5 kB
          Tisza Gergő

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              tgr Tisza Gergő
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: