What can the framework do for you?¶
This extension provides a class Tx_Phpunit_Framework
which provides
lots of useful helper functions that can do things like these for you:
- simulate a front-end environment
- create, change and count database records in your extension’s tables and the system tables and manage relations
- create and log in front-end users and user groups
- create back-end users and user groups
- create pages and (system) folders
- create TS template records
- create files and ZIP archives
- clean up everything afterwards again
This framework originally had been part of the oelib extension before it was moved to the phpunit extension.