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

WordPress Trac noreply at wordpress.org
Sat Apr 30 11:33:46 UTC 2022

#54725: Test tool and unit test improvements for 6.0
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by SergeyBiryukov):

 In [changeset:"53319" 53319]:
 #!CommitTicketReference repository="" revision="53319"
 Tests: Ignore EOL differences in Webfonts API tests.

 Unix vs. Windows EOL style mismatches can cause misleading failures in
 tests using the heredoc syntax (`<<<`) or multiline strings as the
 expected result.

 Includes renaming the test class to match the
 /writing-phpunit-tests/#naming-and-organization naming conventions].

 Follow-up to [46612], [48443], [48466], [49691], [51135], [53282].

 See #54725.

Ticket URL: <https://core.trac.wordpress.org/ticket/54725#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list