Project

General

Profile

Actions

Task #64663

closed

Make use of phpunit after tearDown execution

Added by Anja Leichsenring over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Won't have this time
Category:
Tests
Target version:
-
Start date:
2015-01-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Since a latest release of phpunit it is possible to tag a function as to be executed after frameworks tearDown().

Evaluate and implement:
  • rename ext:core\Tests\UnitTestCase::tearDown() to something speaking, tag it as executed after each test.
  • find all calls to parent::tearDown() inside the unit test files and remove them
  • do not touch Test classes in contrib or Packages/Library directories, because we must not change third party code.
Actions

Also available in: Atom PDF