DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

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.