[wp-trac] [WordPress Trac] #28579: Add unit tests (phpunit, qunit) for Customizer

WordPress Trac noreply at wordpress.org
Wed Jun 18 21:40:57 UTC 2014


#28579: Add unit tests (phpunit, qunit) for Customizer
-------------------------+----------------------------
 Reporter:  westonruter  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Appearance   |    Version:  3.4
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:  javascript   |
-------------------------+----------------------------
 There is a lot of code in the Customizer, and it is completely lacking any
 PHP or JS unit tests. The only unit tests that currently reference the
 Customizer are:

  * phpunit/tests/theme/WPTheme.php
  * qunit/wp-admin/js/customize-header.js

 But there is a lot of constructs in the Customizer which are completely
 untested. We need phpunit and qunit tests for the various aspects of the
 Customizer to ensure we don't introduce regressions when we extend it to
 manage more parts of WordPress.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28579>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list