Task #51091

Feature #51166: Functional tests

Provide functional test base class

Added by Tymoteusz Motylewski over 6 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-08-15
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

We need a base test case class for the functional tests.


Related issues

Related to TYPO3 Core - Task #42609: Integrate abstract FunctionalTestCase Closed 2012-11-01
Related to TYPO3 Core - Bug #42597: Functional CategoryCollectionTest is wrong Closed 2012-11-01

Associated revisions

Revision c6e8e5e7 (diff)
Added by Helmut Hummel over 6 years ago

[TASK] Implement standalone functional test API

Test encapsulation and a controlled environment is
crucial for solid functional tests.

The patch creates a full TYPO3 CMS instance within
typo3temp/ together with an own database and
LocalConfiguration to run a specific functional test
in this environment. A full TYPO3 CMS bootstrap of
this instance is done. A new environment with a fresh
PHP process is created for each and every single test.

Functional test can use the API by calling parent::setUp()
and parent::tearDown().

The functional suite can be called directly with phpunit
"./typo3conf/ext/phpunit/Composer/vendor/bin/phpunit
-c typo3/sysext/core/Build/FunctionalTests.xml"

Currently the test suite must be called from the document
root folder.

The patch is currently a base patch for the main API implementing
immediatly needed stuff. With further patches sanitizing and
more details will be added.

Change-Id: I54f652f6a346a5155b5c33e4a065ab37898ff5b2
Resolves: #51091
Releases: 6.2
Reviewed-on: https://review.typo3.org/23117
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Stefan Neufeind
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring

History

#1 Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#2 Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#3 Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#4 Updated by Gerrit Code Review over 6 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#5 Updated by Gerrit Code Review over 6 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#6 Updated by Gerrit Code Review over 6 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#7 Updated by Gerrit Code Review over 6 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#8 Updated by Gerrit Code Review over 6 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#9 Updated by Gerrit Code Review over 6 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#10 Updated by Gerrit Code Review over 6 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#11 Updated by Gerrit Code Review over 6 years ago

Patch set 11 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#12 Updated by Gerrit Code Review over 6 years ago

Patch set 12 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23117

#13 Updated by Helmut Hummel over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#14 Updated by Christian Kuhn over 6 years ago

  • Parent task set to #51166

#15 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF