#5200 closed enhancement (fixed)
Integrate with new core SVN-develop PHPUnit Setup
Reported by: | ericlewis | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.9 | Priority: | normal |
Severity: | normal | Version: | 1.8.1 |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
The new WordPress SVN-develop setup now includes phpunit within the repository. This means for our development environment, we could use just this single repo, along with a BuddyPress svn repo checked out within the plugins folder, and integrate the two.
There's some assumptions made within the current tests setup code that don't allow us to do this easily though. Let's fix that.
Attachments (2)
Change History (8)
#3
@
11 years ago
One thing - could you make it so that things die more gracefully if both attempts at setting WP_TESTS_DIR fail? In other words, file_exists( WP_TESTS_CONFIG_PATH ) > die( 'whatevs' )
attachment:5200.diff offers support for using the new develop svn environment single-handedly, while also providing backwards compatibility for users referencing an explicit location for the WP PHP unit folder location.