Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23531 closed enhancement (wontfix)

Separate tests into unit / integration / ... directories

Reported by: hakre's profile hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Unit Tests Keywords:
Focuses: Cc:


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
integration - for integration tests
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: What's the difference between unit, functional, acceptance, and integration tests?

Change History (1)

#1 @bpetty
11 years ago

  • Cc bpetty added
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Discussed this in IRC, and decided this isn't a realistic goal as most tests can't actually be clearly categorized like this right now.

Note: See TracTickets for help on using tickets.