[wp-gsoc] [Summer of Code] #332: Test cases for WordPress_Importer

Summer of Code noreply at wordpress.org
Tue Jul 23 06:24:31 UTC 2013

#332: Test cases for WordPress_Importer
 Reporter:  frederick.ding           |       Owner:
     Type:  task                     |      Status:  new
 Priority:  normal                   |   Milestone:  2013 Midterm (Beta)
Component:  Migration & Portability  |  Resolution:
 Keywords:  needs-unit-tests         |

Comment (by frederick.ding):

 In [changeset:"2140"]:
 #!CommitTicketReference repository="" revision="2140"
 Complete standalone test for `process_author_mappings()`; see #332.

 - Inspired partially by `WP_Import_UnitTestCase::_import_wp()`
 - Test user mappings with a) provided user ID; b) provided new username;
   c) new user account made from existing username
 - Also added `::get()` static function for accessing otherwise
   object properties using Reflection

Ticket URL: </ticket/332#comment:3>
Summer of Code </>
My example project

More information about the wp-gsoc mailing list