[buddypress-trac] [BuddyPress Trac] #7620: Update shared fixture architecture for WP 4.4+

buddypress-trac noreply at wordpress.org
Fri Nov 3 19:35:02 UTC 2017

#7620: Update shared fixture architecture for WP 4.4+
 Reporter:  boonebgorges      |       Owner:  netweb
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |

Comment (by boonebgorges):

 In [changeset:"11736"]:
 #!CommitTicketReference repository="" revision="11736"
 Implement `factory()` method for `BP_UnitTestCase`.

 This method, present in WP since 4.4, allows static test methods to use
 the same factory object as non-static methods. This in turn ensures that
 iterators are kept consistent across a test run.

 See #7620.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7620#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list