Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55443, comment 124


Ignore:
Timestamp:
08/19/2022 04:37:18 AM (2 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55443, comment 124

    initial v1  
    11As an aside, please note:
    22
    3 - All tests that are prefixed with `it` need to be updated to use the `test_` prefix instead. [https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#test-methods Ref].
     3- All tests that are prefixed with `it_` need to be updated to use the `test_` prefix instead. [https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#test-methods Ref].
    44- All data providers using the `provider_` prefix need to be updated to use `data_` instead. [https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#repetitive-tests Ref 1]. [https://core.trac.wordpress.org/ticket/53119 Ref 2].
    55- All data providers using `yield` need to instead return an array of arrays - named datasets with keys. [https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#repetitive-tests Ref].