Task #56967

Task #51436: Standalone unit test runner

Tests: Reduce unit test bootstrap

Added by Christian Kuhn over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2014-03-16
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Unit/Functional Tests Spent time: -
Target version:6.2.0
TYPO3 Version:6.2 Complexity:easy
PHP Version:5.4 Sprint Focus:

Associated revisions

Revision f8eb2337
Added by Christian Kuhn over 1 year ago

[TASK] Tests: Reduce unit test bootstrap

The patch further reduces the unit test bootstrap: ext_localconf
of extensions is not loaded anymore and the cache framework is
no longer initialized. A test with incommplete mocking in this area
is fixed along the way.
Furthermore the core exception handling is no longer initialized,
so it does not depend on configuration options. A warning
triggered by a unit test will now reliable let the test fail.

Change-Id: I659441482a19eb6b434d520ecded6df8f5086820
Resolves: #51436
Related: #56967
Releases: 6.2
Reviewed-on: https://review.typo3.org/28449
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring

History

#1 Updated by Christian Kuhn over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Patch was merged with wrong Related and Resolved lines, but is merged already: https://review.typo3.org/#/c/28449/

Also available in: Atom PDF