citeq/functionaltest-test

There is no license information available for the latest version (dev-master) of this package.

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

dev-master 2017-02-06 18:08 UTC

This package is not auto-updated.

Last update: 2021-04-11 22:03:15 UTC


README

The extension can be used to check if the basic implementation of functional test work properly.

How to test

  • Create the following composer json
{
  "name": "functionaltest-project",
  "require": {
    "typo3/cms": "7.6.*",
    "citeq/functionaltest-test": "dev-master"
  },
  "require-dev": {
    "phpunit/phpunit": "4.8.*"
  },
  "config": {
    "bin-dir": "bin/",
    "github-protocols": ["https"],
    "secure-http": false,
    "discard-changes": true,
    "config": {
      "preferred-install": {
        "typo3/cms": "source",
        "*": "dist" 
      }
    }
  },
  "extra": {
    "typo3/cms": {
      "cms-package-dir": "{$vendor-dir}/typo3/cms",
      "web-dir": "WWW"
    }
  }
}
  • run composer install

  • Install TYPO3 instance (using the install wizard)

  • Goto directory WWW and execute:

../bin/phpunit --process-isolation --bootstrap typo3/sysext/core/Build/FunctionalTestsBootstrap.php typo3conf/ext/functionaltest_test/Tests/Functional/