[wp-trac] [WordPress Trac] #23531: Separate tests into unit / integration / ... directories

WordPress Trac noreply at wordpress.org
Tue Feb 19 15:51:16 UTC 2013


#23531: Separate tests into unit / integration / ... directories
-----------------------------+-------------------------
 Reporter:  hakre            |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Unit Tests
  Version:  trunk            |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 To improve the speed how tests can be run - especially the unit-tests - I
 suggest to divide tests into sub-directories, for example:

 ''unit'' - for unit tests[[BR]]
 ''integration'' - for integration tests[[BR]]
 ''functional'' - for functional tests

 Right now all tests are roughly labeled as "Unit-Tests" even they are not
 unit-tests per-se, e.g. some of them interacting with the database or the
 file-system.

 Background: [http://stackoverflow.com/q/4904096/367456 What's the
 difference between unit, functional, acceptance, and integration tests?]

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23531>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list