wunderio / drupal-project

Wunder's template for Drupal projects designed to work automatically with Lando, CircleCI and Helm.
GNU General Public License v2.0
35 stars 6 forks source link

Add Codeception tool #73

Open tormi opened 5 years ago

tormi commented 5 years ago

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:

cc: @guncha25 , @floretan

tormi commented 5 years ago

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

tormi commented 5 years ago

Readme:

Tool definition:

  codecept:
    description: Runs codeception tests
    cmd:
      - appserver: ./vendor/bin/codecept
tormi commented 3 years ago

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