Actions
Task #103668
openAvoid usage of ConnectionPool in extbase functional tests
Start date:
2024-04-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
It should be avoided to verify test results using ConnectionPool
and direct database queries. Instead, $this->assertCSVDataSet
should be used.
Updated by Christian Kuhn 9 days ago
I'd say: It depends ... I guess there are situations where firing a query to assert DB state is fine.
But I've also seen places - especially in extbase tests like persistence stuff - that would benefit when they assert csv files instead, and I remember I already changed various of them towards this. Please go ahead and do more.
Actions