Task #84733

Optimize comands for executing tests with docker in core contribution toolchain

Added by Sybille Peters over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2018-04-15
Due date:
% Done:

0%

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

Description

As suggested by Josef Glatz in the #bamboo channel, we would like to simplify the execution of commands for running the phpunit tests with docker.

In order to do this we can supply some scripts and configuration files:

  • File that sets db credentials for functional tests as environment variables (see Build/bamboo/src/main/java/core/AbstractCoreSpec.java for already existing database credentials)
  • execute commands via composer (or grunt?) by defining them in composer.json or Build/package.json

see also contribution guide for more information:


composer run-script unittests
composer run-script functests


Related issues

Related to TYPO3 Core - Task #83249: Use Composer scripts to simplify development Closed 2017-12-07

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#6 Updated by Sybille Peters over 1 year ago

  • Related to Task #83249: Use Composer scripts to simplify development added

#7 Updated by Gerrit Code Review over 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#8 Updated by Gerrit Code Review over 1 year ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#9 Updated by Gerrit Code Review over 1 year ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56668

#10 Updated by Sybille Peters over 1 year ago

Review was closed in favor of already existing one: https://review.typo3.org/c/54959/

#11 Updated by Andreas Fernandez over 1 year ago

  • Status changed from Under Review to Closed

Closed as requested

Also available in: Atom PDF