Issue Task Closed

#64663Make use of phpunit after tearDown execution

Anja Leichsenring 01/30/15, 19:41 updated 01/08/16, 11:17

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.

Reviews 1