[wp-trac] [WordPress Trac] #39265: Missing @covers in the comment blocks in PHPUnit tests

WordPress Trac noreply at wordpress.org
Thu Jul 7 23:55:27 UTC 2022


#39265: Missing @covers in the comment blocks in PHPUnit tests
-------------------------------------------+-----------------------------
 Reporter:  pbearne                        |       Owner:  hellofromTonya
     Type:  task (blessed)                 |      Status:  reviewing
 Priority:  normal                         |   Milestone:  6.1
Component:  Build/Test Tools               |     Version:  4.8
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:
-------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53686" 53686]:
 {{{
 #!CommitTicketReference repository="" revision="53686"
 Tests: Separate the tests in `basic.php` for clarity.

 There were two kinds of tests in this file:

 * Tests for content of some files in the root directory:
  * `license.txt`
  * `SECURITY.md`
  * `package.json`
 * Tests for some utility functions of the test framework itself:
  * `strip_ws()`
  * `test_mask_input_value()`

 The latter are now moved to their own file, `utils.php`.

 Follow-up to [22/tests], [81/tests], [103/tests], [25240], [26940],
 [28064], [28480], [28493], [28523], [28631], [42381], [47403], [53683].

 See #39265, #55652.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39265#comment:101>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list