drupal-project icon indicating copy to clipboard operation
drupal-project copied to clipboard

Add Codeception tool

Open tormi opened this issue 6 years ago • 3 comments

There is currently a lando codeception tool defined in .lando.yml, but it has never worked because there's no codeception package added to composer.json:

tooling:
  codeception:
    service: appserver
    description: Run codeception
    cmd:
      - ./vendor/bin/codecept
      - "--env=lando"

Let's add either codeception/codeception or guncha25/drupal-codeception package + testing setup.

See also:

  • https://github.com/wunderio/drupal-project/issues/37
  • https://github.com/wunderio/drupal-project/pull/20/commits/6240c751d3c565925fb3c3f914ce0dab49476b3e

cc: @guncha25 , @floretan

tormi avatar Sep 30 '19 22:09 tormi

I've removed non-functional lando codecept tool for now here: https://github.com/wunderio/drupal-project/pull/71/commits/9bf67d505ce79aa359bce7a9210b6ddd7e17447d

tormi avatar Sep 30 '19 22:09 tormi

Readme:

Tool definition:

  codecept:
    description: Runs codeception tests
    cmd:
      - appserver: ./vendor/bin/codecept

tormi avatar Sep 30 '19 22:09 tormi

Our internal guide which needs to be implemented here: https://intra.wunder.io/info/documentation-and-best-practices/drupal-project-testing-setup

tormi avatar Mar 03 '21 20:03 tormi