Opened 3 years ago
Closed 11 months ago
#1 closed enhancement (wontfix)
Allow wp-test multiple classes and exclusion of
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Legacy - Improve Framework |
| Component: | Test Framework | Keywords: | |
| 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: http://core.trac.wordpress.org/ticket/12277, http://core.trac.wordpress.org/ticket/11867
Originally http://core.trac.wordpress.org/ticket/13407
Attachments (1)
Change History (5)
- Owner changed from somebody to westi
- Status changed from new to accepted
Note: See
TracTickets for help on using
tickets.

See [339], [340], [341] for running multiple tests via -t
It accepts any of the following:
(Note, The latter 3 can't be combined with the first style)
None of those offer the ability to skip a test, or to include a wildcard of tests.