Opened 3 years ago

Closed 3 years ago

#13407 closed defect (bug) (duplicate)

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

Reported by: hakre Owned by: westi
Priority: normal Milestone:
Component: Unit Tests Version: 3.0
Severity: normal Keywords: has-patch tested
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 3 years ago.
13407.2.patch (1.5 KB) - added by hakre 3 years ago.
Corrected Patch

Download all attachments as: .zip

Change History (7)

hakre3 years ago

hakre3 years ago

Corrected Patch

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

  • Milestone 3.0 deleted

Removing milestone from a Unit Tests ticket.

  • Keywords needs-unit-tests added
  • Keywords needs-unit-tests removed
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.