WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#23499 closed enhancement (fixed)

Rename phpunit.xml to phpunit.xml.dist

Reported by: nbachiyski Owned by: nacin
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Unit Tests Keywords:
Focuses: Cc:

Description

PHPUnit supports both phpunit.xml and phpunit.xml.dist where phpunit.xml has higher priority.

This is ideal for cases like ours when we distribute the testing suite. By using phpunit.xml.dist we will allow users to add their own phpunit.xml, instead of editing ours.

Change History (7)

#2 @rmccue
5 years ago

Also +1, this is pretty important if you want to do your own extra testing.

#4 @nacin
5 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 1228/tests:

Move phpunit.xml to phpunit.xml.dist. props nbachiyski. fixes #23499.

#5 @nacin
5 years ago

  • Milestone changed from Awaiting Review to 3.6

#6 @bpetty
5 years ago

Might be nice to have an svn:ignore in place for phpunit.xml as well now too, for ease of generating patches.

#7 @nbachiyski
5 years ago

In 1229/tests:

Ignore phpunit.xml, since we have phpunit.xml.dist

See #23499, props bpetty

Note: See TracTickets for help on using tickets.