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

phpunit >= 4.2 and deprecated assertTag()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Unit tests
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Running unit tests against phpunit 4.2 works great, but with that version the assertTag() (and other) have been deprecated, leading to debugging/failures.

      https://github.com/sebastianbergmann/phpunit/issues/1292

      Complete output (81 failures agains master):

      There were 81 errors:
       
      1) core_formslib_testcase::test_rendering
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/lib/tests/formslib_test.php:253
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit core_formslib_testcase lib/tests/formslib_test.php
       
      2) question_usage_autosave_test::test_autosave_then_display
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:67
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      3) question_usage_autosave_test::test_autosave_then_autosave_different_data
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:112
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      4) question_usage_autosave_test::test_autosave_then_autosave_same_data
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:171
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      5) question_usage_autosave_test::test_autosave_then_autosave_original_data
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:236
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      6) question_usage_autosave_test::test_autosave_then_real_save
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:296
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      7) question_usage_autosave_test::test_autosave_then_real_save_same
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:352
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      8) question_usage_autosave_test::test_autosave_then_submit
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:408
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      9) question_usage_autosave_test::test_autosave_and_save_concurrently
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:507
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      10) question_usage_autosave_test::test_autosave_with_wrong_seq_number_ignored
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:610
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      11) question_usage_autosave_test::test_finish_with_unhandled_autosave_data
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/engine/tests/questionusage_autosave_test.php:657
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit question_usage_autosave_test question/engine/tests/questionusage_autosave_test.php
       
      12) qbehaviour_adaptive_walkthrough_test::test_adaptive_multichoice
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:97
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      13) qbehaviour_adaptive_walkthrough_test::test_adaptive_multichoice2
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:202
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      14) qbehaviour_adaptive_walkthrough_test::test_adaptive_shortanswer_partially_right
      PHPUnit_Framework_Assert::assertNotTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:844
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:249
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      15) qbehaviour_adaptive_walkthrough_test::test_adaptive_shortanswer_wrong_right_wrong
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:330
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      16) qbehaviour_adaptive_walkthrough_test::test_adaptive_shortanswer_invalid_after_complete
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:413
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      17) qbehaviour_adaptive_walkthrough_test::test_adaptive_shortanswer_zero_penalty
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:497
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      18) qbehaviour_adaptive_walkthrough_test::test_adaptive_shortanswer_try_to_submit_blank
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:552
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      19) qbehaviour_adaptive_walkthrough_test::test_adaptive_numerical
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:611
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      20) qbehaviour_adaptive_walkthrough_test::test_adaptive_numerical_invalid
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:667
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      21) qbehaviour_adaptive_walkthrough_test::test_adaptive_multianswer
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:809
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptive/tests/walkthrough_test.php:774
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptive_walkthrough_test question/behaviour/adaptive/tests/walkthrough_test.php
       
      22) qbehaviour_adaptivenopenalty_walkthrough_test::test_multichoice
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptivenopenalty/tests/walkthrough_test.php:79
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptivenopenalty_walkthrough_test question/behaviour/adaptivenopenalty/tests/walkthrough_test.php
       
      23) qbehaviour_adaptivenopenalty_walkthrough_test::test_multichoice2
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptivenopenalty/tests/walkthrough_test.php:184
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptivenopenalty_walkthrough_test question/behaviour/adaptivenopenalty/tests/walkthrough_test.php
       
      24) qbehaviour_adaptivenopenalty_walkthrough_test::test_numerical_invalid
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/adaptivenopenalty/tests/walkthrough_test.php:233
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_adaptivenopenalty_walkthrough_test question/behaviour/adaptivenopenalty/tests/walkthrough_test.php
       
      25) qbehaviour_deferredcbm_walkthrough_test::test_deferred_cbm_truefalse_high_certainty
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredcbm/tests/walkthrough_test.php:59
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredcbm_walkthrough_test question/behaviour/deferredcbm/tests/walkthrough_test.php
       
      26) qbehaviour_deferredcbm_walkthrough_test::test_deferred_cbm_truefalse_low_certainty
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredcbm/tests/walkthrough_test.php:132
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredcbm_walkthrough_test question/behaviour/deferredcbm/tests/walkthrough_test.php
       
      27) qbehaviour_deferredcbm_walkthrough_test::test_deferred_cbm_truefalse_default_certainty
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredcbm/tests/walkthrough_test.php:171
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredcbm_walkthrough_test question/behaviour/deferredcbm/tests/walkthrough_test.php
       
      28) qbehaviour_deferredcbm_walkthrough_test::test_deferredcbm_resume_multichoice_single
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredcbm/tests/walkthrough_test.php:209
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredcbm_walkthrough_test question/behaviour/deferredcbm/tests/walkthrough_test.php
       
      29) qbehaviour_deferredcbm_walkthrough_test::test_deferred_cbm_truefalse_no_certainty_feedback_when_not_answered
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredcbm/tests/walkthrough_test.php:269
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredcbm_walkthrough_test question/behaviour/deferredcbm/tests/walkthrough_test.php
       
      30) qbehaviour_deferredfeedback_walkthrough_test::test_deferredfeedback_feedback_truefalse
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredfeedback/tests/walkthrough_test.php:68
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredfeedback_walkthrough_test question/behaviour/deferredfeedback/tests/walkthrough_test.php
       
      31) qbehaviour_deferredfeedback_walkthrough_test::test_deferredfeedback_feedback_multichoice_single
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredfeedback/tests/walkthrough_test.php:133
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredfeedback_walkthrough_test question/behaviour/deferredfeedback/tests/walkthrough_test.php
       
      32) qbehaviour_deferredfeedback_walkthrough_test::test_deferredfeedback_resume_multichoice_single
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredfeedback/tests/walkthrough_test.php:192
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredfeedback_walkthrough_test question/behaviour/deferredfeedback/tests/walkthrough_test.php
       
      33) qbehaviour_deferredfeedback_walkthrough_test::test_deferredfeedback_resume_multichoice_single_emptyanswer_first
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/deferredfeedback/tests/walkthrough_test.php:247
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_deferredfeedback_walkthrough_test question/behaviour/deferredfeedback/tests/walkthrough_test.php
       
      34) qbehaviour_immediatecbm_walkthrough_test::test_immediatecbm_feedback_multichoice_right
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatecbm/tests/walkthrough_test.php:60
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatecbm_walkthrough_test question/behaviour/immediatecbm/tests/walkthrough_test.php
       
      35) qbehaviour_immediatecbm_walkthrough_test::test_immediatecbm_feedback_multichoice_try_to_submit_blank
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatecbm/tests/walkthrough_test.php:151
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatecbm_walkthrough_test question/behaviour/immediatecbm/tests/walkthrough_test.php
       
      36) qbehaviour_immediatecbm_walkthrough_test::test_immediatecbm_feedback_shortanswer_try_to_submit_no_certainty
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatecbm/tests/walkthrough_test.php:200
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatecbm_walkthrough_test question/behaviour/immediatecbm/tests/walkthrough_test.php
       
      37) qbehaviour_immediatecbm_walkthrough_test::test_immediatecbm_feedback_multichoice_wrong_on_finish
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatecbm/tests/walkthrough_test.php:238
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatecbm_walkthrough_test question/behaviour/immediatecbm/tests/walkthrough_test.php
       
      38) qbehaviour_immediatecbm_walkthrough_test::test_immediatecbm_cbm_truefalse_no_certainty_feedback_when_not_answered
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatecbm/tests/walkthrough_test.php:281
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatecbm_walkthrough_test question/behaviour/immediatecbm/tests/walkthrough_test.php
       
      39) qbehaviour_immediatefeedback_walkthrough_test::test_immediatefeedback_feedback_multichoice_right
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatefeedback/tests/walkthrough_test.php:60
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatefeedback_walkthrough_test question/behaviour/immediatefeedback/tests/walkthrough_test.php
       
      40) qbehaviour_immediatefeedback_walkthrough_test::test_immediatefeedback_feedback_multichoice_try_to_submit_blank
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatefeedback/tests/walkthrough_test.php:158
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatefeedback_walkthrough_test question/behaviour/immediatefeedback/tests/walkthrough_test.php
       
      41) qbehaviour_immediatefeedback_walkthrough_test::test_immediatefeedback_feedback_multichoice_wrong_on_finish
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/immediatefeedback/tests/walkthrough_test.php:213
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_immediatefeedback_walkthrough_test question/behaviour/immediatefeedback/tests/walkthrough_test.php
       
      42) qbehaviour_informationitem_walkthrough_test::test_informationitem_feedback_description
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/informationitem/tests/walkthrough_test.php:54
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_informationitem_walkthrough_test question/behaviour/informationitem/tests/walkthrough_test.php
       
      43) qbehaviour_interactive_walkthrough_test::test_interactive_feedback_multichoice_right
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/interactive/tests/walkthrough_test.php:68
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_interactive_walkthrough_test question/behaviour/interactive/tests/walkthrough_test.php
       
      44) qbehaviour_interactive_walkthrough_test::test_interactive_finish_when_try_again_showing
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/interactive/tests/walkthrough_test.php:210
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_interactive_walkthrough_test question/behaviour/interactive/tests/walkthrough_test.php
       
      45) qbehaviour_interactive_walkthrough_test::test_interactive_shortanswer_try_to_submit_blank
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/interactive/tests/walkthrough_test.php:264
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_interactive_walkthrough_test question/behaviour/interactive/tests/walkthrough_test.php
       
      46) qbehaviour_interactive_walkthrough_test::test_interactive_feedback_multichoice_multiple_reset
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/interactive/tests/walkthrough_test.php:372
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_interactive_walkthrough_test question/behaviour/interactive/tests/walkthrough_test.php
       
      47) qbehaviour_interactivecountback_walkthrough_test::test_interactive_feedback_match_reset
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/interactivecountback/tests/walkthrough_test.php:75
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_interactivecountback_walkthrough_test question/behaviour/interactivecountback/tests/walkthrough_test.php
       
      48) qbehaviour_manualgraded_walkthrough_testcase::test_manual_graded_essay
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:516
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/manualgraded/tests/walkthrough_test.php:73
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_manualgraded_walkthrough_testcase question/behaviour/manualgraded/tests/walkthrough_test.php
       
      49) qbehaviour_manualgraded_walkthrough_testcase::test_manual_graded_truefalse
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/manualgraded/tests/walkthrough_test.php:184
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_manualgraded_walkthrough_testcase question/behaviour/manualgraded/tests/walkthrough_test.php
       
      50) qbehaviour_manualgraded_walkthrough_testcase::test_manual_graded_essay_can_grade_0
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:516
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/manualgraded/tests/walkthrough_test.php:312
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_manualgraded_walkthrough_testcase question/behaviour/manualgraded/tests/walkthrough_test.php
       
      51) qbehaviour_manualgraded_walkthrough_testcase::test_manual_graded_respects_display_options
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:516
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/behaviour/manualgraded/tests/walkthrough_test.php:364
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_manualgraded_walkthrough_testcase question/behaviour/manualgraded/tests/walkthrough_test.php
       
      52) qbehaviour_missing_test::test_render_missing
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/behaviour/missing/tests/missingbehaviour_test.php:114
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qbehaviour_missing_test question/behaviour/missing/tests/missingbehaviour_test.php
       
      53) qtype_calculated_walkthrough_test::test_interactive
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/calculated/tests/walkthrough_test.php:61
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_calculated_walkthrough_test question/type/calculated/tests/walkthrough_test.php
       
      54) qtype_calculatedmulti_walkthrough_test::test_interactive
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/calculatedmulti/tests/walkthrough_test.php:61
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_calculatedmulti_walkthrough_test question/type/calculatedmulti/tests/walkthrough_test.php
       
      55) qtype_calculatedsimple_walkthrough_test::test_interactive
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/calculatedsimple/tests/walkthrough_test.php:60
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_calculatedsimple_walkthrough_test question/type/calculatedsimple/tests/walkthrough_test.php
       
      56) qtype_description_walkthrough_test::test_informationitem_feedback_description
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:559
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/description/tests/walkthrough_test.php:48
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_description_walkthrough_test question/type/description/tests/walkthrough_test.php
       
      57) qtype_essay_walkthrough_testcase::test_deferred_feedback_html_editor
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/type/essay/tests/walkthrough_test.php:46
      /Users/stronk7/git_moodle/testing/question/type/essay/tests/walkthrough_test.php:95
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_essay_walkthrough_testcase question/type/essay/tests/walkthrough_test.php
       
      58) qtype_essay_walkthrough_testcase::test_deferred_feedback_plain_text
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/type/essay/tests/walkthrough_test.php:46
      /Users/stronk7/git_moodle/testing/question/type/essay/tests/walkthrough_test.php:147
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_essay_walkthrough_testcase question/type/essay/tests/walkthrough_test.php
       
      59) qtype_essay_walkthrough_testcase::test_responsetemplate
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/type/essay/tests/walkthrough_test.php:46
      /Users/stronk7/git_moodle/testing/question/type/essay/tests/walkthrough_test.php:204
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_essay_walkthrough_testcase question/type/essay/tests/walkthrough_test.php
       
      60) qtype_match_walkthrough_test::test_deferred_feedback_unanswered
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:64
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      61) qtype_match_walkthrough_test::test_deferred_feedback_partial_answer
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:119
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      62) qtype_match_walkthrough_test::test_interactive_correct_no_submit
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:179
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      63) qtype_match_walkthrough_test::test_interactive_partial_no_submit
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:231
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      64) qtype_match_walkthrough_test::test_interactive_with_invalid
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:283
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      65) qtype_match_walkthrough_test::test_match_with_tricky_html_choices
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:354
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      66) qtype_match_walkthrough_test::test_match_clear_wrong
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/match/tests/walkthrough_test.php:402
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_match_walkthrough_test question/type/match/tests/walkthrough_test.php
       
      67) qtype_missing_test::test_render_missing
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:516
      /Users/stronk7/git_moodle/testing/question/type/missingtype/tests/missingtype_test.php:112
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_missing_test question/type/missingtype/tests/missingtype_test.php
       
      68) qtype_multianswer_walkthrough_test::test_interactive_feedback
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/multianswer/tests/walkthrough_test.php:230
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_multianswer_walkthrough_test question/type/multianswer/tests/walkthrough_test.php
       
      69) qtype_multianswer_walkthrough_test::test_interactivecountback_feedback
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/multianswer/tests/walkthrough_test.php:352
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_multianswer_walkthrough_test question/type/multianswer/tests/walkthrough_test.php
       
      70) qtype_multichoice_walkthrough_test::test_deferredfeedback_feedback_multichoice_single
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/multichoice/tests/walkthrough_test.php:64
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_multichoice_walkthrough_test question/type/multichoice/tests/walkthrough_test.php
       
      71) qtype_multichoice_walkthrough_test::test_deferredfeedback_feedback_multichoice_multi
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/multichoice/tests/walkthrough_test.php:98
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_multichoice_walkthrough_test question/type/multichoice/tests/walkthrough_test.php
       
      72) qtype_numerical_walkthrough_test::test_interactive_currency
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:504
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/numerical/tests/walkthrough_test.php:60
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_numerical_walkthrough_test question/type/numerical/tests/walkthrough_test.php
       
      73) qtype_numerical_walkthrough_test::test_deferredfeedback_currency
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:516
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/numerical/tests/walkthrough_test.php:150
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_numerical_walkthrough_test question/type/numerical/tests/walkthrough_test.php
       
      74) qtype_numerical_walkthrough_test::test_deferredfeedback_unit
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/numerical/tests/walkthrough_test.php:203
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_numerical_walkthrough_test question/type/numerical/tests/walkthrough_test.php
       
      75) qtype_randomsamatch_walkthrough_test::test_deferred_feedback_unanswered
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/randomsamatch/tests/walkthrough_test.php:63
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_randomsamatch_walkthrough_test question/type/randomsamatch/tests/walkthrough_test.php
       
      76) qtype_randomsamatch_walkthrough_test::test_deferred_feedback_partial_answer
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/randomsamatch/tests/walkthrough_test.php:118
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_randomsamatch_walkthrough_test question/type/randomsamatch/tests/walkthrough_test.php
       
      77) qtype_randomsamatch_walkthrough_test::test_interactive_correct_no_submit
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/randomsamatch/tests/walkthrough_test.php:178
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_randomsamatch_walkthrough_test question/type/randomsamatch/tests/walkthrough_test.php
       
      78) qtype_randomsamatch_walkthrough_test::test_interactive_partial_no_submit
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/randomsamatch/tests/walkthrough_test.php:230
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_randomsamatch_walkthrough_test question/type/randomsamatch/tests/walkthrough_test.php
       
      79) qtype_randomsamatch_walkthrough_test::test_interactive_with_invalid
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/randomsamatch/tests/walkthrough_test.php:282
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_randomsamatch_walkthrough_test question/type/randomsamatch/tests/walkthrough_test.php
       
      80) qtype_randomsamatch_walkthrough_test::test_randomsamatch_clear_wrong
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:540
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/randomsamatch/tests/walkthrough_test.php:349
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_randomsamatch_walkthrough_test question/type/randomsamatch/tests/walkthrough_test.php
       
      81) qtype_truefalse_walkthrough_test::test_false_right_does_not_show_feedback_when_not_answered
      PHPUnit_Framework_Assert::assertTag is deprecated
       
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:559
      /Users/stronk7/git_moodle/testing/question/engine/tests/helpers.php:886
      /Users/stronk7/git_moodle/testing/question/type/truefalse/tests/walkthrough_test.php:54
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit qtype_truefalse_walkthrough_test question/type/truefalse/tests/walkthrough_test.php
       
      FAILURES!
      Tests: 2901, Assertions: 48152, Errors: 81, Skipped: 6.
      

      So this about to decide, mainly, how we move away from that deprecation. I can imagine these options:

      A) Move the deprecated calls to some other dom/text matching alternative available in phpunit.

      B) Re-invent within Moodle those assertions.

      C) Add a new dependency to something like this, that should bring us back such assertions (perhaps there are other alternatives available, I've not researched about it):
      https://packagist.org/packages/phpunit/phpunit-dom-assertions

      At first shoot, I'd say, let's got for A), continue using the officially available phpunit API, without inventing too much. But that's only my initial idea.

      That is it, ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: