r3h6 / typo3-browserkit-testing
BrowserKit testing for TYPO3
0.6.4-alpha
2026-02-28 14:22 UTC
Requires
- php: >=8.2
- symfony/browser-kit: *
- symfony/css-selector: *
- symfony/http-client-contracts: ^3.6
- symfony/process: *
- typo3/testing-framework: ^8.2
Requires (Dev)
- blastcloud/guzzler: ^2.0
- r3h6/typo3-example-extension: @dev
- saschaegerer/phpstan-typo3: ^1.10 || ^2.0
- typo3/cms-backend: ^12.4 || ^13.4
- typo3/cms-core: ^12.4 || ^13.4
- typo3/cms-extensionmanager: ^12.4 || ^13.4
- typo3/cms-felogin: ^12.4 || ^13.4
- typo3/cms-filelist: ^12.4 || ^13.4
- typo3/cms-fluid-styled-content: ^12.4 || ^13.4
- typo3/cms-form: ^12.4 || ^13.4
- typo3/cms-install: ^12.4 || ^13.4
- typo3/cms-lowlevel: ^12.4 || ^13.4
- typo3/cms-reports: ^12.4 || ^13.4
- typo3/coding-standards: ^0.7 || ^0.8
Suggests
- blastcloud/guzzler: Supercharge your app with a testing library specifically for Guzzle
This package is auto-updated.
Last update: 2026-02-28 14:23:30 UTC
README
Brings Symfony's BrowserKit Component to TYPO3 Testing Framework.
Example
class MyTestCase extends BrowserKitTestCase { public function testExample() { $client = self::getClient($this); $crawler = $client->request('GET', '/'); self::assertSelectorExists('.example'); } }
See also tests/Functional/DomCrawlerAssertionsTest.php
Assertions
You can find details on Symfony's Testing Documentation.
❌ Response Assertions
❌ Request Assertions
❌ Browser Assertions
✅ Crawler Assertions
✅ Mailer Assertions
Known problems
- File upload not (yet) implemented