Review main Merged

71793[TASK] Have notice and warning free functional tests

Christian Kuhn CR +2 V +2 Easy +14 −8 updated 10/15/21, 06:50

Commit message

This new testing-framework version brings a feature
to let functional test fail if warnings or notices
or deprecations are raised.

This is achieved by not activating the default core
error handler in funcitional tests and bubbling up
errors into native phpunit error handler.

The feature is enabled by a constant defined in
FunctionalTests.xml.

From now on, we let tests that raise warnings or
notices fail, while deprecations are accepted.
Another patch will then extract tests that actively
test deprecated code to an own test suite and will
activate test fails for raised deprecations, too.

composer req --dev typo3/testing-framework:^6.12.0

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4