[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

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


#55652: Test tool and unit test improvements for 6.1
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  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/55652#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list