2 development
Markus Bergholz edited this page 2021-07-23 10:31:29 +00:00

Integration tests

Requirements:

  • Ansible
  • Docker
  • Python Docker SDK
  • Make

From project root directory simply run make fullround.
It will execute the playbook tests/integration/targets/localhost.yml.

It is a playbook with 4 Plays.

  1. start official nextcloud docker container
  2. prepare apache to work with ssl (requires by passwords app)
  3. install passwords app
  4. run integration tests against the container
  5. stops and removes the container

Development

Basically it is alawys used current ansible version, current nextcloud version and current python3 version.
Mainly passwords app requires always an up to date nextcloud version.
The file module might work with almost any nextcloud version.