Issue Task Closed

#84733Optimize comands for executing tests with docker in core contribution toolchain

Sybille Peters 04/15/18, 12:16 updated 04/21/18, 14:01

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

Reviews 1