WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13407 closed defect (bug) (duplicate)

Test-Suite: Allow wp-test multiple classes and exclusion of

Reported by: hakre Owned by: westi
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Unit Tests Keywords: has-patch tested
Focuses: Cc:

Description

Improvement to the -t commandline switch.

Examples:

Run all tests but TestLargeThemeDir, TestImportWP, TestWPQueryPosts, WPTestGalleryPost

$ wp-test -t "! TestLargeThemeDir, TestImportWP, TestWPQueryPosts, WPTestGalleryPost"

Only run Test_Clean_Pre and Test_Seems_UTF8

$ wp-test -t Test_Clean_Pre,Test_Seems_UTF8

Additionally a .cmd file helps to start right away on windows.

Related: #12277, #11867

Attachments (2)

13407.patch (3.8 KB) - added by hakre 8 years ago.
13407.2.patch (1.5 KB) - added by hakre 8 years ago.
Corrected Patch

Download all attachments as: .zip

Change History (7)

@hakre
8 years ago

@hakre
8 years ago

Corrected Patch

#1 @hakre
8 years ago

Please ignore the first patch it got mixed up with older changes.

#2 @nacin
8 years ago

  • Milestone 3.0 deleted

Removing milestone from a Unit Tests ticket.

#3 @hakre
8 years ago

  • Keywords needs-unit-tests added

#4 @hakre
8 years ago

  • Keywords needs-unit-tests removed

#5 @nacin
8 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.