Task #79509
closedAdd group feature to functional tests
100%
Description
To increase the performance of functional tests (as excluded groups would not be processed at all, not even be listed) and to ignore tests for certain DBMS the option "@group" should be used in the annotation of a test.
Example:
/** * @test * * @group mysql */ public function collectGarbageWorksWithEmptyTableWithMysql() { $subject = $this->getSubjectObject(true); $subject->collectGarbage(); }
To exclude a group follow the these examples:
// to exclude tests for MySQL bin/phpunit -c ./components/testing_framework/core/Build/FunctionalTests.xml --exclude-group mysql // to exclude tests for MySQL and PostgreSQL bin/phpunit -c ./components/testing_framework/core/Build/FunctionalTests.xml --exclude-group mysql postgresql
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51438
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51438
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51438
Updated by Gerrit Code Review almost 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51438
Updated by Manuel Selbach almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 57651ae64ae035343d5f37401088125245a67ecb.