#4442 closed enhancement (duplicate)
Automated Unit Testing for BuddyPress
Reported by: | foxly | Owned by: | foxly |
---|---|---|---|
Milestone: | BuddyPress.org Sites | Priority: | normal |
Severity: | major | Version: | |
Component: | Build/Test Tools | Keywords: | dev-feedback has-patch |
Cc: | fanquake@…, carlroett@…, 2inov8 |
Description
Merge BP-Media's unit testing framework into the Buddypress core. Create online documentation. Write a simple unit test to demonstrate operation to BP development team.
Attachments (1)
Change History (14)
#3
@
12 years ago
- Component changed from Core to Unit Tests
- Milestone changed from Awaiting Review to Unit Tests
#4
@
12 years ago
Created "Unit Tests" milestone and component; we can look into creating more specific ones as we go.
#6
@
12 years ago
- Cc carlroett@… added
The build is underway.
http://code.google.com/p/buddypress-media/source/detail?r=2450
We've decided to encapsulate it in a plugin so everyone's install auto-synchs with the release-to-production version.
As this is a joint project between our teams, we'll be giving Boone commit access on our staging server and the plugin's Wordpress repo so that your team can make changes without having to go through us.
All dev activities for the unit test system will be coordinated through your TRAC, because everyone's on here and it works better than our bug tracker.
ETA: 2-3 days.
-F
#7
@
12 years ago
- Keywords dev-feedback needs-testing added
We're happy to present the first cut of the Buddypress unit tests !
1) Check out the Razor unit test platform from this SVN:
https://wp-razor.googlecode.com/svn/trunk/
and drop it into a folder called /razor/ in your WP plugins folder.
2) Check out the BP unit test stack from this SVN:
https://wp-razor.googlecode.com/svn/bp-tests/
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 capture.
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.
-F
#10
@
12 years ago
- Keywords has-patch added; needs-patch removed
Oops, the wordpress-razor link still exists.
Will download it later and add it as an attachment to future proof it, as the first link posted (http://code.google.com/p/buddypress-media/source/detail?r=2450) no longer exists.
#11
@
12 years ago
The reason that we didn't upload anything to trac is written here -> http://buddypress.trac.wordpress.org/ticket/3567#comment:1
There was and may still be a 256kb upload limit.
The Razor project is now hosted on Github -> https://github.com/WP-Razor/
+1