WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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 4 years ago.
13407.2.patch (1.5 KB) - added by hakre 4 years ago.
Corrected Patch

Download all attachments as: .zip

Change History (7)

hakre4 years ago

hakre4 years ago

Corrected Patch

comment:1 hakre4 years ago

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

comment:2 nacin4 years ago

  • Milestone 3.0 deleted

Removing milestone from a Unit Tests ticket.

comment:3 hakre4 years ago

  • Keywords needs-unit-tests added

comment:4 hakre4 years ago

  • Keywords needs-unit-tests removed

comment:5 nacin4 years ago

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