[buddypress-trac] [BuddyPress] #4442: Automated Unit Testing for BuddyPress

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 22 15:57:33 UTC 2012

#4442: Automated Unit Testing for BuddyPress
 Reporter:  foxly                       |       Owner:  foxly
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  Unit Tests
Component:  Unit Tests                  |     Version:
 Severity:  major                       |  Resolution:
 Keywords:  dev-feedback needs-testing  |
Changes (by foxly):

 * keywords:   => dev-feedback needs-testing


 '''We're happy to present the first cut of the Buddypress unit tests ! '''

 1) Check out the Razor unit test platform from this SVN:


 and drop it into a folder called /razor/ in your WP plugins folder.

 2) Check out the BP unit test stack from this SVN:


 and place the 'unit-test' folder inside the /buddypress/ folder

 3) In a terminal window, navigate to /plugins/razor/ and type "php
 test.php --plugin=buddypress --panel=A"

 You should get output similar to what's shown in the attached screen

 It's going to be a few more days before we have some substantial tests
 built for you, but the 'hello world' test fixture we've included should be
 enough for you to test whatever you're working on if you need to do it
 right away.


Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4442#comment:7>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list