integration_openproject/docs/running_API_test.md

629 B

🧪 Running API tests

NOTE:
Before running the API tests, the nextcloud instance needs to be ready, and also integration app needs to be enabled

To run the whole of the acceptance tests locally run the command below.

NEXTCLOUD_BASE_URL=http://<nextcloud_host> make api-test

In order to run only a specific scenario

NEXTCLOUD_BASE_URL=http://<nextcloud_host> \                                                                                                                                            
make api-test \
FEATURE_PATH=tests/acceptance/features/api/directUpload.feature:15