Closed saw-jan closed 2 weeks ago
CC @ScharfViktor @phil-davis
I agree 👍
One suggestion: maybe we can join make test-acceptance-from-core-api
to make test-acceptance-api
?
but keep the old set naming (prefixes with core
) to use only one command to run tests:
TEST_SERVER_URL="https://localhost:9200" \ BEHAT_FEATURE="tests/acceptance/features/coreApiWebdavOperations/downloadFile.feature:242" \
make test-acceptance-api
TEST_SERVER_URL="https://localhost:9200" \
BEHAT_FEATURE="tests/acceptance/features/apiGraph/activities.feature" \
make test-acceptance-api
I agree with the acceptance test folder restructuring.
I will let @saw-jan and @ScharfViktor decide what make
command targets should do what things.
One suggestion: maybe we can join make test-acceptance-from-core-api to make test-acceptance-api? but keep the old set naming (prefixes with core) to use only one command to run tests:
currently, we have two different behat configs for them. But it looks doable. :+1: I will add to the list or create another ticket for this
In order to better scope and organize the files and folders related to API tests, here is a proposed
acceptance
directory structure.Current:
Proposed:
bootstrap
moved out of the features dir (features
only contains the test suites - feature files)TestHelpers
moved into acceptance dir (because those helpers are only for API acceptance tests)